Skip to content

gaokaigithub/tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tools

运行环境python 3.x

mytime

get_time() 将2016-11-11转为20161111格式,返回int格式
get_stime() 将20161111转为2016-11-11格式,返回str格式
get_month() 获取每年每月对应的天数,返回字典格式
rezero() 将09格式转换为9
runnian() 判断是否是闰年,返回天数
get_days() 获取两个时间点相差的天数

deal.py

监测v2ex交易版块的小爬虫,根据帖子的id号大小来判断是否有更新,然后再看title里有没有自己感兴趣的关键词。

About

学习python过程中写的一些小脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages