os.listdir() will get you everything that's in a directory - files and directories. If you want just files, you could either filter this down using os.path ...
確定! 回上一頁