Skip to main content

懂資.懂資 NO.20

Page 1

? ?? ?? ?? 161009 WEEKLY REPORT

FEATURES python ? ? ? ? ???????? ? ?? ?????

by ? ?


PYTHON? ? ? ?

BY ? ?

? ? ? ? ? http://yanlong4869.blogspot.tw/2015/09/python-crawler.html

???????????? ???????????? ??????????????????????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ?? ???? ???? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ???????????????????? ? ??? ????????? ? ? ? ? ? ? ?

? ? ? ? ? ?

????????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? HTTP? ? ? ? GET? ? ? ? ? ? ? ? (Request) ? ? ? ? ? ? ? (Server) ? ? ? ? ? ? ? ? ? ? ? ? ? ? (Response) ? ? ? ? ? ? ? (? ? ? )? ? ? ? ? ? ? ? ? ? ? ? ? ??????????


PYTHON? ? ? ?

BY ? ?

? CHROME? ? ? 1.? ? ? ? ? F12 ? ? ? ? ? ? ? ? ? ? 2.? ? ? ? ? ? ? ? Network 3.? F5? ? ? ? ? ? 4.? ? ? ? ? ? ? ? ? GET? ? ? ?


PYTHON? ? ? ?

BY ? ?

? ? ? ? ? ...? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? python? ? ? ? ? ? ? ? ? ? ? ? ? python? ? ? ? 2.7? 3.x? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

? ? ? ?

1.? ? ? ? ? ? ? ? (Package) ? 2.7.x? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3.x? ? ? ? Package ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ????? ????????

? ? 2.? ? ? ? ? ? ? ? ? 3.x? ? ? ? ? ? ? 2.7.x? ? ? ? ? ? ? ? ? ? ? ? ? ? 2.7.x? ? ? ? ? ? ? ? bug? ? ? ? ? 2.7.x? ? ? ? ? bug ? ? 3.x? ? ? ? ? ????????????? ??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ( https://www.python.org/ ) ? ??????????? ??????? ? ? ( https://pypi.python.org/pypi ) ? ? ? ? ? ? ? ? easy_install ? pip ? ? ? ? ? ? ?


PYTHON? ? ? ?

BY ? ?

? ? ? ? ? ? ? easy_install ? pip ? ? ? ? ? ? ? ? ? ???????????? ? ? ( http://pypi.python.org/pypi/setuptools ) ? ? ( https://pip.pypa.io/en/stable/installing/ ) ?????????? ? ? 1.pip? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? easy_install? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2.pip? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? easy_install? ? ? ????????????????????? - Requests : ? ? ? ? ? ? (URL)? ? ? ? ( http://www.python-requests.org/en/latest/ )

- Beautiful Soup4 : ? ? HTML? ? ? ? ? ? ( https://www.crummy.com/software/BeautifulSoup/ )

- lxml : ? ? XML? HTML? ? ? ? ? ? ? ( http://lxml.de/ )

???????????????????????? ?


???????? ?????? ?????????

?? ?????????

?? ???????? ?

?? ?????????????

?? ?????????????? ??? ?????????

?? ??????????


? ?? ????? DR.ROBI? ? ? ?


? ?? ????? ????


? ?? ?? ?? 161009 WEEKLY REPORT

Matthew5:15-16 And a burning light is not put under a vessel, but on its table; so that its rays may be shining on all who are in the house. Even so let your light be shining before men, so that they may see your good works and give glory to your Father in heaven.


Turn static files into dynamic content formats.

Create a flipbook
懂資.懂資 NO.20 by yolo - Issuu