How to import a variable from a custom module?
Still it is possible
orCode:from mymodule import x
Code:from mymodule import x as new_variable
Thank you. By the way what do you think of that?
mymodule.pyCode:import mymodule, appuifw a = mymodule.askword() print a
Code:import appuifw def askword(): d = appuifw.query(u"Write", "text") return d
Last edited by DrivingMobileInnovation; 2008-06-30 at 20:14.