/reptle

各种py写的爬虫

Primary LanguagePython

最近在学习Python,这里面是我自己做的一些练习,希望能帮助大家学习Python,

在里面有很多的Python,我会逐渐写成库开源出来,希望大家能提issues, 有什么不懂的可以发送邮件到lishengminbj@gmail.com

Because I study Python, this files is my parctise , I hope help need your study Python.

In it there are many Python, I will gradually write library open source, I hope you can mention issues, what do not understand, you can send mail to lishengminbj@gmail.com

Thanks~

Python中 常见的Hash算法,并使用字符串规则化 Test_hash

Python-变量 Text_var

Python-类 Test_Class

Python-beautifulSoup库的简单使用 Test_beautifulSoup

Python-下载一个mp4文件,保存在本地 Test_down_mp4

Python-打印目录所有文件名称 Test_folder_filesname

Python-将某个目录的文件压缩成zip保存 Test_files_to_zip

Python-获取外网IP Test_get_ip

Python-获取weater Test_get_weater

Python-获取网页Cookie Test_get_Cookie

Python-语法练习-Keywords, 就是在一个函数参数中使用不定个数的参数的方法~ Test_keywords

Python-引入自己写的包/库,系统会自动生成一个pyc文件~来加快程序效率 Test_import_order_file

Python-截取网站中某些标签 Test_req_caoliu

Python-下载“百思不得姐”首页的视频 Test_Req_Down_Mp4_Budejie

Python-遍历站点所有链接 Test_Req_getUrls

Python-下载写真网站“www.zngirls.com”图片 Test_Req_MMPicture 主要涉及难点为需要伪装浏览器,伪装cookie,解决外链访问等~

Python-语法练习:使用threading些的定时器,延迟执行某些事情 Test_timer_after

Python-生成exe文件 Text_exe