![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
文章平均质量分 64
熄灯写代码Q(`⌒´Q)
在校学生,18届本科在读,计算机科学与技术专业
熟悉C语言,JAVA语言,Python语言,html,css,数据结构等,还有一些正在学,学校不开课的,只能自学,希望毕业能找到工作,努力中
展开
-
yield的理解
看了网上,对于yield的解释,没有人讲的容易理解,此篇文章希望能帮助你理解。原创 2022-11-17 23:14:19 · 160 阅读 · 1 评论 -
Python处理文件
Python遍历指定的文件夹并输出所有文件及大小完整代码如下:#这是你想要遍历的文件夹path='F:\\test'def find_files(path): dir=[] for i in os.listdir(path): if os.path.isdir(os.path.join(path,i)): dir.append(os.path.join(path,i)) else: file_size原创 2020-09-27 18:50:46 · 116 阅读 · 0 评论