import os print(os.listdir( "。"))
Pythonは、現在のディレクトリ内のファイル名とフォルダ名を読み取ります
おすすめ
転載: blog.csdn.net/jidawanghao/article/details/112369862
おすすめ
ランキング