how can I modify an imported variable ?

yomgui not at valid.com
Wed Dec 27 11:45:03 EST 2006


hi,

your sample code works, but mine doesn't.
it must be a multi-thread issue.
I am certain that I am modifying MyPackage.aVariable
before using it.

Both threads are importing MyPackage,
but the modification of MyPackage.aVariable
is not seen by the other thread. is this possible ?

is there a turn around to allow it ?

thanks

yomgui



More information about the Python-list mailing list