Devon MacIntyre wrote:
> Hi,
> Just wondering, how would I get a variable out of one function and into 
> another? 

I don't understand your description of your situation, maybe you could 
show a little code as a simple example?

The usual way to get a variable out of a function is to return a value 
from the function. The usual way to get a variable into a function is to 
pass a parameter. If you want tighter coupling than that maybe you 
should make the functions into methods of a class and make the variables 
into instance attributes.

HTH,
Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to