Example: python os.listdir #!/usr/bin/python import os, sys # Open a file path = "/var/www/html/" dirs = os.listdir( path ) # This would print all the files ...
確定! 回上一頁