python
import urllib
import BeautifulSoup
htmlSource = urllib.urlopen("http://sebsauvage.net/index.html").read(200000)
soup = BeautifulSoup.BeautifulSoup(htmlSource)
for item in soup.fetch('a'):
print item['href']
import BeautifulSoup
htmlSource = urllib.urlopen("http://sebsauvage.net/index.html").read(200000)
soup = BeautifulSoup.BeautifulSoup(htmlSource)
for item in soup.fetch('a'):
print item['href']
下一篇:抬起头来:自信心修炼秘籍
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章熱度:☆☆☆☆☆
文章難度:☆☆☆☆☆
文章質量:☆☆☆☆☆
說明:系統根據文章的熱度、難度、質量自動認證,已認證的文章將參與打字排名!
本文打字排名TOP20
登录后可见
用户更多文章推荐
- Visual Analytics (3 credits)2016-03-02
- Big Data Analytics with Hadoop2016-03-02
- Adaptive Business Intelligence2016-03-02
- Data Analytics using R (3 cred2016-02-28
- Advanced Business Analytics an2016-02-25
- Project Risk and Cost Manageme2016-02-25
- Project Leadership and Communi2016-02-24
- Introduction to Project Manage2016-02-24
- Data Mining and Business Intel2016-02-21
- Predictive Modeling (3 credits2016-02-20
- Business Process Modeling and2016-02-19