class relationship question
lance-ladamage at rogers.com
Tue Mar 4 22:12:36 CET 2003
I suggest you use something that a friend of mine uses. He calls it a
DataPool, and it manages a dictionary of variables (and their values.) I can
give you a snippet of it if you want ...
"John Underwood" <johnwadeunderwood at yahoo.com> wrote in message
news:f004e9c2.0303041309.3858c2e1 at posting.google.com...
> I have two different .py files that are as basic as "hello world"
> and a additonal file that is just a class... as simple as holding
> the value to display to the world
> I want them to share a class relationship, so they can pass
> to each other, I'm not sure how to tackle this yet and would
> any help... for example..
> somefile1.py asks a user for information and updates the class, then
> somefile2.py has access to that user information and could display it
> to a screen. I'm of course not using this in a hello world
> application, but thought it would be a simple way to explain what i'm
> trying to do.
> Thanks for any help..
More information about the Python-list