How to get the list of imported variables/functions
Charlie Derr
charlie at intelligenesis.net
Tue May 2 11:39:04 EDT 2000
|
|Greetings,
|
| Is there a way to know what variables/functions were imported
|from a given module after :
|
|
| from blah_blah import *
|
|Thanks for your time and help
|
I think the following will give what you want:
dir(blah_blah)
However, I am also curious as to whether there is a way to look at the
entire local namespace. I there a way to do:
dir( builtins and all imported modules )
just wondering,
~c
More information about the Python-list
mailing list