Skip to content

Litreily/Python-scripts

Repository files navigation

Python Demos

some demos which coding with python

algorithm

Some basic sort algorithms

  • quick sort

dl

download files from web and showing the processing bar

cfachina

Description

How to use

  1. modified Parameters
  2. run python cfachina_spider.py

Dependencies libs

  • requests
  • bs4 - BeautifulSoup
  • xlwt, xlrd, xlutils

Parameters

  • path: directory to save the data, modified in class Storage
  • pageSize(option): an argument of request, default 20, can modified in class SpiderThread: self.page_size
  • filetype(option): can be .xls or .txt, default is .xls

Tips

  • If set pageSize to 1000, 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

Gitbook2HexoDoc

convert gitbook files to hexo blog post files

img2ascii

a simple tool use to convert image to ascii text

wechat

wechat client base on tkinter GUI

About

some programs implement with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages