Getting definition list

Bluexcell bluexcell at aol.com
Sat Mar 6 07:12:02 EST 2004


ok so i  use import to import a py file into my script.

is there a way to list all the defined function labels that exist in the
imported file?

ie if  i import a file called test and test has defined functions  called
myfunction1 my function2  myfunction3 etc    but i dont know  them,  is there a
method to list all the function labels in test and print them  as a listing

test.mfunction1
test.myfunction2
test.myfunction3

etc.







More information about the Python-list mailing list