摘要: PEP8 https://www.python.org/dev/peps/pep-0008/ Python Enhacement Proposal #8,即8 号 Python 增强规范,以下简称 PEP8。 PEP8 第 38 条规定命名必须有意义,不能是无意义的单字母。 pycharm 安装PE 阅读全文
posted @ 2021-11-07 16:43 jingmojing 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1 import threading import time from threading import current_thread def myThread(arg1, arg2): print(current_thread().getName(),'start') print('%s %s'% 阅读全文
posted @ 2021-11-07 16:37 jingmojing 阅读(52) 评论(0) 推荐(0) 编辑
摘要: Doc: https://docs.python.org/3.10/library/index.html 日常应用比较广泛的模块是: 1. 文字处理的 re https://docs.python.org/3.10/library/re.html re: regular expression 正则表 阅读全文
posted @ 2021-11-07 16:36 jingmojing 阅读(45) 评论(0) 推荐(0) 编辑