Re: getting global variables from dictionary

2008-09-26 Thread George Sakkis
On Sep 26, 10:01 pm, icarus <[EMAIL PROTECTED]> wrote: > global_vars.py has the global variables > set_var.py changes one of the values on the global variables (don't > close it or terminate) > get_var.py retrieves the recently value changed (triggered right after > set_var.py above) > > Problem: g

Re: getting global variables from dictionary

2008-09-26 Thread Ben Finney
icarus <[EMAIL PROTECTED]> writes: > global_vars.py has the global variables > set_var.py changes one of the values on the global variables (don't > close it or terminate) > get_var.py retrieves the recently value changed (triggered right after > set_var.py above) > > Problem: get_var.py retrieve

Re: getting global variables from dictionary

2008-09-26 Thread Aaron "Castironpi" Brady
On Sep 26, 9:01 pm, icarus <[EMAIL PROTECTED]> wrote: > global_vars.py has the global variables > set_var.py changes one of the values on the global variables (don't > close it or terminate) > get_var.py retrieves the recently value changed (triggered right after > set_var.py above) > > Problem: ge

Re: getting global variables from dictionary

2008-09-26 Thread Chris Rebert
When you do "Variables()" in your code, you're making a new instance of that class that has no relation to any other instances. This is the cause of your problem. To just reference a class, use just "Variables". But that doesn't help in this case because var_dict is an instance variable, not a clas