Assume I am using a class Foo. I want to find out the modification time of the file that that class was defined in. How would I go about this?
If I could find out the name of the file that Foo was defined in then it is easy, I could use os.path.getmtime(), but I can't even figure that out. I realize that this wouldn't be a completely accurate way to tell the last time this class was modified because it could inherit info from other classes, or use functions from other modules that have been modified, etc. Nathan Bullock -- http://mail.python.org/mailman/listinfo/python-list