12 2019 档案

摘要:转至:https://blog.csdn.net/weixin_43943977/article/details/102691392 1、灰色樱花树 from turtle import * from random import * from math import * def tree(n,l): 阅读全文
posted @ 2019-12-31 14:31 齐天大圣打妖怪 阅读(516) 评论(0) 推荐(0)
摘要:1、去除重复语句 delete from ZS_PC_DJWD a where (a.ST_DATE,a.MAX_VALUE,a.DEVICE_CODE) in (select ST_DATE,MAX_VALUE,DEVICE_CODE from ZS_PC_DJWD group by ST_DAT 阅读全文
posted @ 2019-12-27 09:44 齐天大圣打妖怪 阅读(158) 评论(0) 推荐(0)
摘要:1、指定时间,每天定时运行 def func(): main_fun() ##主要的函数 #如果需要循环调用,就要添加以下方法 timer = threading.Timer(86400, func) #timer = threading.Timer(180, func) timer.start() 阅读全文
posted @ 2019-12-23 13:26 齐天大圣打妖怪 阅读(555) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/zllnau66/article/details/81742798 这个博客也不错 转至http://bluewhale.cc/2016-08-21/python-data-cleaning.html 数据清洗是一项复杂且繁琐(kubi)的工作,同时也是整 阅读全文
posted @ 2019-12-11 13:28 齐天大圣打妖怪 阅读(221) 评论(0) 推荐(1)
摘要:1、双y轴 x = np.arange(0., np.e, 0.01) y1 = np.exp(-x) y2 = np.log(x) fig = plt.figure() ax1 = fig.add_subplot(111) ax1.plot(x, y1) ax1.set_ylabel('Y val 阅读全文
posted @ 2019-12-10 11:44 齐天大圣打妖怪 阅读(890) 评论(0) 推荐(0)
摘要:import osos.walk(path) path是指想要遍历的文件夹的路径 这个函数得到的结果是一个或多个tuple,个数取决于路径下是否有文件夹:如果没有文件夹的话,那么只有一个tuple,如果有的话,假如有3个,那么就会有4个tuple。 而每个tuple中有三项: 1.当前文件夹的路径( 阅读全文
posted @ 2019-12-03 11:52 齐天大圣打妖怪 阅读(1314) 评论(0) 推荐(0)