Code:
import os
os.listdir(os.getcwd) # returns a list of files in the current directory
Other than that, you are going to have to be a lot more specific with what you are trying to do here...
The documentation for the os module is a good start:
http://docs.python.org/lib/module-os.html