Ian Mallett wrote:
Hi,I would like to list all the files in a directory. What should I do to do that?
Most file operations can be handled using the os module. In this case, you can use the following: import os directory_listing = os.listdir("path/to/target/directory")
Ian
-Luke