Global variables

Aahz aahz at pythoncraft.com
Tue Dec 10 12:08:28 EST 2002


In article <JSoJ9.2973$9R.10587246 at newsr2.u-net.net>,
Richard Pasco <richardpasco at quintessa.org> wrote:
>
>Something like this...
>
>def func():
>    f = 3*5
>    return f
>func()
>print f

x = func()
print x
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at lion.austin.ibm.com



More information about the Python-list mailing list