摘要: fill 将多行文本按照指定的宽度和格式输出 s = "Look into my eyes, look into my eyes, the eyes, the eyes, \ the eyes, not around the eyes, don't look around the eyes, \ l 阅读全文
posted @ 2020-04-09 12:19 择一事,终一生 阅读(110) 评论(0) 推荐(0) 编辑
摘要: fnmatch() 函数匹配能力介于简单的字符串方法和强大的正则表达式之间。 如果在数据处理操作中只需要简单的通配符就能完成的时候,这通常是一个比较合理的方案 import os from fnmatch import fnmatchcase files = os.listdir('.') py_f 阅读全文
posted @ 2020-04-09 10:47 择一事,终一生 阅读(126) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示