impyf104

impyf104

V2EX member #246890, joined on 2017-08-05 01:09:27 +08:00
Per impyf104's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
impyf104's recent replies
May 28, 2021
Replied to a topic by AlexWIT 算法 求助一个简单的算法问题
Mar 10, 2018
Replied to a topic by Trent 酷工作 [成都] - [百词斩-招聘] 15k-35k(可上浮)
请问招 iOS 的暑期实习吗
SPG 挺好的,还有分。
重写 run 和 stop,留个变量 flag
def run:
while(flag):
Do something
def stop:
flag = false
或者用 setdaemon
@saximi return re.findall(r'<a.*?href="(.*?)".*?>繁体</a>',html)[0]
这样吧,[0]是满足正则的括号内的内容,具体的去查下怎么用吧,表达能力有限...
用 re.search 或者 re.findall 吧
<a.*?href="(.*?)".*?>繁体</a>
Aug 29, 2017
Replied to a topic by saximi Python 请教用 BeautifulSoup 包抓取链接的问题
html = urlopen("https://en.wikipedia.org"+articleUrl)
字符串里别加空格
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5806 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
♥ Do have faith in what you're doing.