Re: [Tutor] Listing imported modules

2008-09-13 Thread Tim Johnson
On Friday 12 September 2008, you wrote: > On Fri, Sep 12, 2008 at 8:42 PM, Tim Johnson <[EMAIL PROTECTED]> wrote: > > If I execute the following code: > > > > imported = sys.modules.keys() > > > > print imported > > > > Do I indeed get a list of _all_ modules imported by this module? > > You get a

Re: [Tutor] Listing imported modules

2008-09-13 Thread Emile van Sebille
Tim Johnson wrote: If I execute the following code: imported = sys.modules.keys() print imported Do I indeed get a list of _all_ modules imported by this module? If so, then could anyone offer suggestion on how to "parse" the non-standard modules from this list. I.E. modules _not_ included i

[Tutor] Listing imported modules

2008-09-12 Thread Tim Johnson
If I execute the following code: imported = sys.modules.keys() print imported Do I indeed get a list of _all_ modules imported by this module? If so, then could anyone offer suggestion on how to "parse" the non-standard modules from this list. I.E. modules _not_ included in the standard python dis