Python reads the file and folder names in the current directory

import os


print(os.listdir("."))

Guess you like

Origin blog.csdn.net/jidawanghao/article/details/112369862