1. 图片验证码生成 图片验证码生成,可以直接作为第三方库引用放在django项目中 #!/usr/bin/env python # -*- coding: utf-8 -*- import random import string import os.path from io import Byt ...
分类:
其他好文 时间:
2020-07-10 15:12:52
阅读次数:
58
一、Log4j2日志框架Spring5 已经移除 Log4jConfigListener,官方建议使用 Log4j21)引入 jar 包 2)创建 log4j2.xml 配置文件 FATAL > ERROR > WARN > INFO > DEBUG > TRACE > ALL --> ... ...
分类:
编程语言 时间:
2020-07-10 11:18:27
阅读次数:
58
# coding: utf-8 import tensorflow as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1" print(tf.__version__) print(tf.test.is_gpu_available()) fr ...
分类:
其他好文 时间:
2020-07-10 10:00:02
阅读次数:
62
# coding: utf-8 get_ipython().run_line_magic('matplotlib', 'notebook') import matplotlib.pyplot as plt import tensorflow as tf import tensorflow.contr ...
分类:
其他好文 时间:
2020-07-10 09:31:57
阅读次数:
78
1.login.py # -*- coding: utf-8 -*- from selenium import webdriver from time import sleep from selenium.webdriver.common.action_chains import ActionCha ...
分类:
编程语言 时间:
2020-07-10 09:28:52
阅读次数:
97
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # # Date : xxxx-xx-xx # # Author : Created by zhouwanchun. # # Wechat : loveoracle11g # # Function: T ...
分类:
数据库 时间:
2020-07-08 23:25:48
阅读次数:
106
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # # Date : xxxx-xx-xx # # Author : Created by zhouwanchun. # # Wechat : loveoracle11g # # Function: T ...
分类:
编程语言 时间:
2020-07-08 15:05:09
阅读次数:
77
#python去重脚本 # -*- coding:utf-8 -*- #! python2 import shutil a=0 readDir = "old.txt" #old writeDir = "new.txt" #new lines_seen = set() outfile = open(w ...
分类:
其他好文 时间:
2020-07-07 19:52:23
阅读次数:
94
#!/user/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/7 15:32# @Author :Test_zhangping# @Email :981874735@qq.com# @File :api_requests.pyimport re ...
#!/user/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/7 15:32# @Author :Test_zhangping# @Email :981874735@qq.com# @File :api_data.py"""首先确认用例需要修改 ...