文件系统 import os # 打印当前目录 print(os.getcwd()) # 列出当前目录的所有文件 print(os.listdir()) F:\codes\python\python\fishc ['.ipynb_checkpoints', '1.guess_number.py', 'boy_1.txt', 'boy_2.txt', 'boy_3.txt', 'dic.ipynb', 'digui.ipynb', 'function.ipynb', 'girl_1.txt', '…