[Tutor] advice on global variables

Chris Hare chare at labr.net
Wed Jul 11 02:31:09 CEST 2012


On Jul 10, 2012, at 6:24 PM, Alan Gauld wrote:

> On 11/07/12 00:16, Alan Gauld wrote:
> 
>>> One thought was a RAM based SQLite database, but that seems
>> > like a lot of work.  I dunno, maybe that is the option.
>> 
>> is definitely the best option where the "global" needs to be shared
>> across different programs as well as different modules in a single
> 
> I meant to add its also the right technique where the 'global' value has to persist between different execution cycles of the program. (Or indeed any kind of value needs to persist across execution cycles!)
> 

Thanks Alan -- I am thinking I am just gonna go with the RAM based SQLite database …. 
> -- 
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list