On Sun, Dec 28, 2008 at 11:26 PM, member Basu b...@archlinux.us 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
En Mon, 29 Dec 2008 05:26:52 -0200, member Basu b...@archlinux.us
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
On Dec 29, 3:50 am, Chris Rebert c...@rebertia.com wrote:
On Sun, Dec 28, 2008 at 11:26 PM, member Basu b...@archlinux.us 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
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
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.
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
--