有没有办法在Python中返回当前目录中所有子目录的列表?
我知道你可以用文件做到这一点,但我需要获取目录列表.
python directory subdirectory
directory ×1
python ×1
subdirectory ×1