user variables

user at domain.invalid user at domain.invalid
Tue Jun 24 05:53:16 EDT 2003


Sorry this must be really trivial, but I am new to Python...
suppose I defined
a=5
b=7
c=9

is there a command like

usr_vars()

which would show

a=5
b=7
c=9

????

I tried globals(), locals() and vars(), but they all mix my user-defined 
variables with system ones... clues? ideas?

thanks in advance,

Pier





More information about the Python-list mailing list