global variables or inheritence

Thomas Rasmussen simpsons at kom.auc.dk
Wed Apr 26 15:37:40 EDT 2000


Hi

I have quite a big problem. I have two different files, where I in one
file want to declare a variable and then in the other file be able to
access and use this variable (no need to change it), but I just can't
seem to get it to work... Is there any nice way of doing this easily?
I have tried the global var but this doesn't seem to work.

Anyone got a good idea?

Thomas
-- 
KOM Network student helper

"To alcohol! The cause of - and solution to - all of life's problems!"
-- Homer Simpson



More information about the Python-list mailing list