Re: Retrieving modification time of file class was declared in

2005-01-25 Thread Bengt Richter
On 24 Jan 2005 20:39:11 -0800, [EMAIL PROTECTED] wrote: >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

Re: Retrieving modification time of file class was declared in

2005-01-24 Thread Orlando Vazquez
Actually, what my comment wass supposed to say was "Checking the modification time of the file the Thread class was defined in", but I'm sure you understood what I meant. ;-) Orlando Vazquez wrote: [EMAIL PROTECTED] wrote: Assume I am using a class Foo. I want to find out the modification time o

Re: Retrieving modification time of file class was declared in

2005-01-24 Thread Orlando Vazquez
[EMAIL PROTECTED] wrote: 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