What I am essentially looking for is a way to return a handle to a directory in python, a bit like how perl can do something like this...
opendir CWD .
see: http://perldoc.perl.org/5.8.9/functions/opendir.html
CWD can then be used as a handle for pointing to the directory like *CWD
in file operations.
The closest I've come across in python is open() but that doesn't return file descriptors/pointers and doesn't work with directories.