Re: Listing of declared variables and functions

2005-05-11 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Fernando Perez <[EMAIL PROTECTED]> wrote: >ohms377 wrote: > >> Dear python users, >> >> In interactive mode, I was wondering if there is a way to list all >> declared variables and functions (and from global workspace). > >In [1]: def foo(): pass > ...: > >In [2]

Re: Listing of declared variables and functions

2005-05-10 Thread Fernando Perez
ohms377 wrote: > Dear python users, > > In interactive mode, I was wondering if there is a way to list all > declared variables and functions (and from global workspace). In [1]: def foo(): pass ...: In [2]: x=1 In [3]: a='hello' In [4]: import re In [5]: whos Variable TypeData/

Re: Listing of declared variables and functions

2005-05-09 Thread Bill Mill
On 9 May 2005 09:58:19 -0700, ohms377 <[EMAIL PROTECTED]> wrote: > Dear python users, > > In interactive mode, I was wondering if there is a way to list all > declared variables and functions (and from global workspace). > >>> x = 12 >>> z = 13 >>> import re >>> locals() {'__builtins__': , 're':

Listing of declared variables and functions

2005-05-09 Thread ohms377
Dear python users, In interactive mode, I was wondering if there is a way to list all declared variables and functions (and from global workspace). Thanks, -frankie -- http://mail.python.org/mailman/listinfo/python-list