- 博客(3)
- 收藏
- 关注
转载 python多线程爬堆糖的图片
"""#-*- coding:utf-8 _*-@author:tang@file: spider.py@time: 2018/03/25"""import requestsimport urllib.parseimport threading# 设置最大线程锁thread_lock = threading.BoundedSemaphore(value=10)# 'ht...
2018-04-27 16:14:27
359
1
原创 python实现简单的购物小程序~
# author : tang# qq : 1440535574# time : 2018/4/27 9:51:15producty_list = [ ('computer', 5000), ('xiaomi6', 2500), ('bed', 500), ('chair', 280), ('cup', 5)]shoppi...
2018-04-27 16:02:21
868
原创 python的re模块获取/**/内的非空字符串内容
a=r"/* 123 */ /* 456 */"b=re.findall(r'/\*\s(\d{3,})\s\*/', a)print(b)
2018-04-25 10:22:34
2277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅