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]
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/
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':
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