How can i use a variable without define it ?

Ben Finney bignose+hates-spam at benfinney.id.au
Wed Jul 16 04:47:38 EDT 2008


zhw <weizhonghua.ati at gmail.com> writes:

> How can i use a variable without define it ?

What do you mean by "use"? That's so vague I can think of many
possible interpretations.

What do you mean by "variable"? That term carries a lot of baggage
that doesn't apply in Python.

Can you give a small, complete example that demonstrates the issue
you're trying to solve?

-- 
 \      “The face of a child can say it all, especially the mouth part |
  `\                                        of the face.” —Jack Handey |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list