摘要:
code pip3 install requests 阅读全文
posted @ 2020-05-12 22:36
anobscureretreat
阅读(135)
评论(0)
推荐(0)
摘要:
code pip3 install bs4 阅读全文
posted @ 2020-05-12 22:35
anobscureretreat
阅读(538)
评论(0)
推荐(0)
摘要:
code bool(re.search(r'\d', str)) 阅读全文
posted @ 2020-05-12 19:19
anobscureretreat
阅读(13526)
评论(0)
推荐(0)
摘要:
code # 提供了两个列表,对相同位置的列表数据进行相加 >>> map(lambda x, y: x + y, [1, 3, 5, 7, 9], [2, 4, 6, 8, 10]) [3, 7, 11, 15, 19] 阅读全文
posted @ 2020-05-12 14:38
anobscureretreat
阅读(412)
评论(0)
推荐(0)
摘要:
code >>> l1=[1,2,3,4,5,6] >>> l2=[4,5,6,7,8,9] >>> print(dict(zip(l1,l2))) {1: 4, 2: 5, 3: 6, 4: 7, 5: 8, 6: 9} 阅读全文
posted @ 2020-05-12 13:45
anobscureretreat
阅读(687)
评论(0)
推荐(0)

浙公网安备 33010602011771号