I program house, idle very boring, familiar with java, oracle, hand write a python is not a big problem, I would like to ask my friend, who himself wrote some simple small programs, such as reptiles caught owned (mao) material (pian) of class, or excel statistical tools.
projects afraid, not afraid of technical difficulties, the program never too small, easy to use as long as the resulting line.
====================================== split
above me Niubi big blow, readily write python, python is to write something, to sell off now, it is not readily write a python language. In addition, it is written, if the supplied source code, I used to study research, and ideas or to walk. . . Or if you work in such demand (you may be personal things to other positions), what kind of tools wants, briefly describe. Have time to do it, then I do, and give away, do not make the e-mail contact ,,, ,,,, then come anyway, I do not charge, pure play.
Mody Mody clatter. Well ...... it has been suggested modified ...... but I do not have very discordant things ah ......
short release omitted the source code of the links and screenshots.
================================================= ======
python reptile practiced hand when climbing IMDb feel boring, it is better to climb point island XX.
then wrote a reptile, crawling under a classification of a site as well as the cover of the movie designation. Then on their computers can cover a comfortable screening.
code below,
# / usr / bin / python3 # - * - coding:! utf-8 - * - import requestsfrom bs4 import BeautifulSoupfrom threading import Threadimport queue _session = requests.session () url_base = 'URL WAS HERE' page = '1'for page in range (0,100): print (page) r = _session.get (url_base + str (page)) print (r) soup = BeautifulSoup (r.content) box = soup.find_all (' div ', class _ =' item ') av = [] for i in range (len (box)): av + = [[box [i] .div.img [' src '], box [i] .div.img [ 'title'], box [i] .find ( 'date') text]] DMM_session = requests.session () for i in av:. img = DMM_session.get (i [0] .replace ( 'ps', 'pl'), stream = True) with open ( 'covers /' + i [2] + "__" + i [1] [: 40] .replace ( '[^ \ w]', '') + ' .jpg ',' wb ') as f: f.write (img.content) f.close ()