some demos which coding with python
Some basic sort algorithms
- quick sort
download files from web and showing the processing bar
cfachina_spider
Spider of data from http://www.cfachina.org/cfainfo/organbaseinfoServletRWExcel
Read and write data from .xls files
- modified Parameters
- run
python cfachina_spider.py
requests
bs4
-BeautifulSoup
xlwt
,xlrd
,xlutils
path
: directory to save the data, modified inclass Storage
pageSize
(option): an argument of request, default20
, can modified inclass SpiderThread: self.page_size
filetype
(option): can be.xls
or.txt
, default is.xls
- If set
pageSize
to1000
, it will grab only one page for each meachanism, so it should be more faster - Save to
.txt
file is more faster then.xls
file
convert gitbook files to hexo blog post files
a simple tool use to convert image to ascii text
wechat client base on tkinter GUI