"M-a-S" <NO-MAIL at hotmail.com> wrote in message news:<Qpmab.5255$9G2.4299 at twister.southeast.rr.com>... > Read also the thread "How to pass parameter to a module?" > M-a-S > you're right, the proper solution is : import sys print sys.modules['__main__'].myVariable thanks a lot