Thanks for all your replies, but the thing is I want to get the list of
functions in that file itself, not by importing it as a module. I've decided
to go with a class-based approach due to a number of other reasons, but I'm
still interested in a way to get function name in that file itself.
Thanks
member Basu wrote:
I'm putting some utility functions in a file and then building a simple
shell interface to them. Is their some way I can automatically get a
list of all the functions in the file? I could wrap them in a class and
then use attributes, but I'd rather leave them as simple functi
On Dec 29, 3:50 am, "Chris Rebert" wrote:
> On Sun, Dec 28, 2008 at 11:26 PM, member Basu wrote:
> > I'm putting some utility functions in a file and then building a simple
> > shell interface to them. Is their some way I can automatically get a list of
> > all the functions in the file? I could
En Mon, 29 Dec 2008 05:26:52 -0200, member Basu
escribió:
I'm putting some utility functions in a file and then building a simple
shell interface to them. Is their some way I can automatically get a
list of
all the functions in the file? I could wrap them in a class and then use
attributes,
On Sun, Dec 28, 2008 at 11:26 PM, member Basu wrote:
> I'm putting some utility functions in a file and then building a simple
> shell interface to them. Is their some way I can automatically get a list of
> all the functions in the file? I could wrap them in a class and then use
> attributes, but
I'm putting some utility functions in a file and then building a simple
shell interface to them. Is their some way I can automatically get a list of
all the functions in the file? I could wrap them in a class and then use
attributes, but I'd rather leave them as simple functions.
Thanks,
Basu
--
ht