Re: How do I import a variable from another module?

2007-05-03 Thread sykora
On May 4, 6:39 am, [EMAIL PROTECTED] wrote: > On May 3, 9:36 pm, Andy Terrel <[EMAIL PROTECTED]> wrote: > > > are you sure your variable isn't in some code block that wouldn't be > > read on import? Such as: > > > if __name__ == "__main___": > > actions = 1 > > No Andy, I have not put the var

Re: Refreshing imported modules

2007-05-03 Thread sykora
On May 2, 7:24 pm, [EMAIL PROTECTED] wrote: > I have the python interperter opened while editing a module. The > problem is that when I make changes, the module is not refreshed > whenever I import it again. I have to re-launch the interpreter, is > there a way to shortcut this? I believe you can