How to Lock Globar Variables across Modules?

Alex cut_me_out at
Wed Sep 27 18:47:34 CEST 2000

> In the main module, all the code will look like
>     schedule (sv.current_time)
> But the same code in other modules will have to look like
>     schedule (
> I want something that is consistent across all the simulation modules.

Well, perhaps you could import the main_module into itself, so that you
can refer to in there as well.  At least it'd be


Speak softly but carry a big carrot.

More information about the Python-list mailing list