# This script reads the contents of the specified # folder, and then prints all of the containd files. dirname = '.'; dir = files.openDir(dirname); while (filename = files.nextDirItem(dir)) != none: print(filename, '\n');