- 博客(4)
- 收藏
- 关注
原创 Python的math.log(1000, 10)和math.log10(1000)为什么结果不一样,为什么math.log(1000,10)不是3?
math.log(1000,10)为什么不等于3.
2022-09-27 10:32:41
839
原创 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
195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1