码迷,mamicode.com
首页 >  
搜索关键字:coding    ( 12955个结果
Django中途圖片驗證碼功能實現
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
Spring(八)-spring5框架新功能
一、Log4j2日志框架Spring5 已经移除 Log4jConfigListener,官方建议使用 Log4j21)引入 jar 包 2)创建 log4j2.xml 配置文件 FATAL > ERROR > WARN > INFO > DEBUG > TRACE > ALL --> ... ...
分类:编程语言   时间:2020-07-10 11:18:27    阅读次数:58
Tensorflow暑期实践——基于单个神经元的手写数字识别(全部代码)
# 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
Tensorflow暑期实践——波士顿房价预测(全部代码)
# 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
python+selenium+unittest
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
创建MySQL账户
#!/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
kill掉Sleep的连接线程
#!/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
api_requests
#!/user/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/7 15:32# @Author :Test_zhangping# @Email :981874735@qq.com# @File :api_requests.pyimport re ...
分类:Windows程序   时间:2020-07-07 19:22:05    阅读次数:80
api_data
#!/user/bin/python3# -*- coding: utf-8 -*-# @Time : 2020/7/7 15:32# @Author :Test_zhangping# @Email :981874735@qq.com# @File :api_data.py"""首先确认用例需要修改 ...
分类:Windows程序   时间:2020-07-07 18:00:27    阅读次数:85
12955条   上一页 1 ... 41 42 43 44 45 ... 1296 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!