Modul gotchas:)

Giorgi Lekishvili gleki at gol.ge
Wed Jan 2 16:13:44 EST 2002


Hi all!

happy new year, first of all!!!

My question is simple, yet I missed the right answer, although have lots
of books on Python:(

Suppose, one has a module, which defines some set of functions.

The question:

How can one get the names of all these functions as list entries?

E.g.,

all_func=[]

import myModule

all_func=myModule.functions()

of course, this will not work.

What is to be done? Some special functions are to be written or, is
there a built-in tool?


thanks a lot!

Grtz,
Giorgi




More information about the Python-list mailing list