摘要: 一:source和时间 前置:开始前创建表technicalUser,并添加数据到数据表中 # 技术人员表 class technicalUser(models.Model): db_table = "technicalUser" name = models.CharField(verbose_na 阅读全文
posted @ 2024-12-04 09:45 蜗牛·哥 阅读(67) 评论(0) 推荐(0)
摘要: 步骤一: 1、创建模型类Depart class Depart(models.Model): db_table = "depart" title = models.CharField(verbose_name="部门", max_length=32) order = models.IntegerFi 阅读全文
posted @ 2024-12-03 16:45 蜗牛·哥 阅读(32) 评论(0) 推荐(0)
摘要: mongodb是文档型数据库,其官网地址为 https://www.mongodb.com/。我们在官网上下载该软件包,并完成安装。如我们可以设置安装路径为D:\MongoDB\mongodb。我们在完成安装之后,可以看到在该目录的bin文件夹下有如下文件: 接下去我们配置环境变量,为了能在任意目录 阅读全文
posted @ 2021-06-02 17:33 蜗牛·哥 阅读(694) 评论(0) 推荐(0)
摘要: 方法如下: 1. 写好功能工具类,如: public class Hello { public static void main(String[] args) throws Exception { Hello hello = new Hello(); hello.sayHello("word. bi 阅读全文
posted @ 2021-03-09 11:33 蜗牛·哥 阅读(3771) 评论(0) 推荐(2)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- import hashlib import tkinter class TkinterMd5: def __init__(self): self.tk = tkinter.Tk() # 实例化object s 阅读全文
posted @ 2020-12-11 16:51 蜗牛·哥 阅读(216) 评论(1) 推荐(0)
摘要: import os import yaml import sys import logging class PubMethod: @staticmethod def read_yaml(file): if os.path.isfile(file): fr = open(file, 'r', enco 阅读全文
posted @ 2020-09-11 20:58 蜗牛·哥 阅读(268) 评论(0) 推荐(0)
摘要: # this is config file, only store browser type and server URL[browserType]#browserName = FirefoxbrowserName = Chrome#browserName = Ie#browserName = Ed 阅读全文
posted @ 2020-09-11 20:55 蜗牛·哥 阅读(504) 评论(0) 推荐(0)
摘要: # -*- coding:utf-8 -*- import configparser from selenium import webdriver from webdriver_manager.opera import OperaDriverManager from webdriver_manage 阅读全文
posted @ 2020-09-11 20:53 蜗牛·哥 阅读(427) 评论(0) 推荐(0)
摘要: # coding=utf-8 import time from selenium.common.exceptions import NoSuchElementException from selenium.webdriver import ActionChains from selenium.web 阅读全文
posted @ 2020-09-11 20:49 蜗牛·哥 阅读(899) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-07-31 20:51 蜗牛·哥 阅读(5) 评论(0) 推荐(0)