摘要:
s1 = 'Hello' s2 = 'Python' f'{s1} {s2}'#fast,f-string s1 + ' ' + s2 ' '.join(s1, s2) '%s %s' % (s1, s2) '{} {}'.format(s1, s2) Template('$s1 $s2').sub
阅读全文
posted @ 2021-03-09 22:11
行之间
阅读(167)
推荐(0)
编辑
摘要:
class GithubSpider(scrapy.Spider): name = 'github' allowed_domains = ['github.com'] start_urls = ['https://github.com/login'] def parse(self, response
阅读全文
posted @ 2021-03-09 21:20
行之间
阅读(118)
推荐(0)
编辑