分类目录归档:Python

爬虫练习

from bs4 import BeautifulSoup import req … 继续阅读

发表在 Python | 留下评论

Python目录及正则表达式练习

import re p = re.compile(‘(\d+)-(\d+)-(\ … 继续阅读

发表在 Python | 留下评论

Python多线程编程

函数的方法 import threading import time from … 继续阅读

发表在 Python | 留下评论

Python类练习及类的使用-自定义with语句

class Player(): def __init__(self,name,h … 继续阅读

发表在 Python | 留下评论

Pycharm 配置autopep8

pip install autopep8 Settings–>Tools–>Ex … 继续阅读

发表在 Python | 留下评论

python闭包及装饰器练习

def tips(func): def nei(a,b): print(‘sta … 继续阅读

发表在 Python | 留下评论