Re: question about introspection using inspect module

2005-07-07 Thread Mike Meyer
Benjamin Rutt <[EMAIL PROTECTED]> writes: > what I am actually trying to do is to build a database of Python > modules. so then later, I can write a tool in my favorite editor > (Emacs) to invoke some forms of completion against this database > (e.g. os.remov or socket. to see a list of all socket

Re: question about introspection using inspect module

2005-07-07 Thread Fernando Perez
Benjamin Rutt wrote: > Fernando Perez <[EMAIL PROTECTED]> writes: > >> I certainly don't want to discourage you from learning about python >> introspection, it's one of the most fun aspects of the language. But just >> as an FYI, the pydoc system already does much of what you have in mind, at >>

Re: question about introspection using inspect module

2005-07-07 Thread Benjamin Rutt
Fernando Perez <[EMAIL PROTECTED]> writes: > I certainly don't want to discourage you from learning about python > introspection, it's one of the most fun aspects of the language. But just as > an FYI, the pydoc system already does much of what you have in mind, at least > if I'm reading your des

Re: question about introspection using inspect module

2005-07-07 Thread Fernando Perez
Benjamin Rutt wrote: > I'm trying to learn about introspection in Python. my ultimate goal > is to be able to build a module "text database" of all modules that > are in the sys.path, by discovering all candidate modules (I've > already done that), importing all of them, and then introspecting on