amosmz's recent timeline updates
amosmz

amosmz

V2EX member #288065, joined on 2018-01-30 16:49:14 +08:00
amosmz's recent replies
May 9, 2019
Replied to a topic by hellomacos Python 老生常谈的问题:如何学好 Python
我也是小白一枚,大腿略过

从需求出发吧,你有什么想要爬取得内容,就去看那个网站。
你要学的话,简单就是找一个博客,直接去爬,或者去爬一些图片下来。
python 拿过来,先把博客所有内容拿到,拿到后用正则去获取里面的标题或者内容(方法有很多,就像你说的你不知道什么方法好,别想那么多,先做出来再说) , 然后再想办法把标题连接里面的内容拿到,组合起来。最简单的就这样。
先做后想,做多了,自然就知道什么方法好
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2677 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 13:28 · PVG 21:28 · LAX 06:28 · JFK 09:28
♥ Do have faith in what you're doing.