[Tutor] Global variables

Kermit Rose kermit at polaris.net
Mon Aug 14 16:47:06 CEST 2006

From: Luke Paireepinart 
Date: 08/13/06 22:28:50 
To: Kermit Rose 
Cc: Danny Yoo; tutor at python.org 
Subject: Re: [Tutor] Global variables 
Kermit Rose wrote: 
> From: Danny Yoo 
> Date: 08/09/06 16:23:35 
> To: Kermit Rose 
> Cc: tutor at python.org 
> If I can figure out how to make my main function subroutine declare global

> variables 
> then I won't need to pass parameters most parameters to the other 
> subroutines, 
> and will bypass the problem I'm having that sometimes the function
> SOMETIMES does not return the value it has in the subroutine, back to the 
> calling routine. 
From: Luke Paireepinart 
are you asking a question?
Kermit Rose wrote: 
Yes.   How can I make a package of functions declare global variables for
passing information between
the functions in the package?

More information about the Tutor mailing list