Python
文章平均质量分 83
lune819
这个作者很懒,什么都没留下…
展开
-
Python最简单的网页抓取
1. Install 2 python packages:$ sudo pip install requests$ sudo easy_install beautifulsoup42. Creat test.py#coding=utf-8 import requests from bs4 import BeautifulSoup #get urldef get_html(url): ...原创 2018-06-21 23:53:44 · 289 阅读 · 0 评论 -
Python3学习笔记
1. Download python3 from https://www.python.org/downloads/release/python-365/test: python3 --version2.Basic Grammar List []list = [ 'abcd', 786 , 2.23, 'runoob', 70.2 ] print (list[1:3]) #print 2nd 3...原创 2018-06-21 12:59:08 · 395 阅读 · 0 评论