Get named module's file location

Gnarlodious gnarlodious at gmail.com
Fri Dec 23 11:51:13 EST 2011


Roy Smith wrote:

> import imp
> imp.find_module()

Oh yeah that works. I am getting a list of modtimes using List Comprehension, from a list of modules, which will be compared to an older list to see if mod_wsgi needs to be restarted.

Maybe thee is an easy way to get the modtimes, I'd be grateful.

-- Gnarlie



More information about the Python-list mailing list