会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
za况明伟
博客园
首页
新随笔
联系
管理
订阅
2019年11月30日
把含有字典的列表去重
摘要: from functools import reducedef list_dict_removal(data_list): run_function = lambda x, y: x if y in x else x + [y] return reduce(run_function, [[], ]
阅读全文
posted @ 2019-11-30 17:07 暗渺
阅读(261)
评论(0)
推荐(0)
2019年11月28日
计算程序运行时间
摘要: import time start = time.clock() elapsed = (time.clock() - start) print("Time used:",elapsed)
阅读全文
posted @ 2019-11-28 16:00 暗渺
阅读(98)
评论(0)
推荐(0)
2019年11月22日
计算目标时间多少天之后的日期
摘要: import datetime def mb_date(date,day): #20191122 d = (datetime.datetime(int(date[:4]),int(date[4:6]),int(date[6:])) + datetime.timedelta(days=day)).st
阅读全文
posted @ 2019-11-22 20:00 暗渺
阅读(198)
评论(0)
推荐(0)
2019年11月8日
pip指南
摘要: https://www.cnblogs.com/wongbingming/p/11808529.html
阅读全文
posted @ 2019-11-08 09:51 暗渺
阅读(65)
评论(0)
推荐(0)
2019年11月7日
加速计算,算法运行 numba
摘要: https://www.jianshu.com/p/69d9d7e37bc5
阅读全文
posted @ 2019-11-07 17:50 暗渺
阅读(125)
评论(0)
推荐(0)
2019年10月31日
生成keystore并生成别名
摘要: https://www.cnblogs.com/aiaitie/p/9525564.html
阅读全文
posted @ 2019-10-31 15:38 暗渺
阅读(192)
评论(0)
推荐(0)
2019年9月25日
文件读写的基本操作
摘要: https://www.cnblogs.com/MayDayTime/p/9157432.html
阅读全文
posted @ 2019-09-25 09:44 暗渺
阅读(128)
评论(0)
推荐(0)
2019年9月7日
Python time & datetime & string 时间模块的相互转换
摘要: https://www.cnblogs.com/alfred0311/p/7885349.html
阅读全文
posted @ 2019-09-07 21:12 暗渺
阅读(153)
评论(0)
推荐(0)
的Python学习笔记:私有变量
摘要: https://www.cnblogs.com/semon-code/p/8242062.html#top
阅读全文
posted @ 2019-09-07 21:11 暗渺
阅读(82)
评论(0)
推荐(0)
公告