Cross Module Command Useage

2006-03-12 Thread Keith
Ok so I’m new to the python programming language… and this is my first post to this mailing list… so here it is…   So lets say have two modules.. moduleA and moduleB… they are both imported into a main python program using the “from module import *” command… now moduleA has a dynamic comm

Re: Cross Module Command Useage

2006-03-12 Thread Peter Decker
On 3/12/06, Keith <[EMAIL PROTECTED]> wrote: > So lets say have two modules.. moduleA and moduleB… they are both imported > into a main python program using the "from module import *" command… There's your big mistake. This sort of import pollutes the namespace, because now all the items in the mo

Re: Cross Module Command Useage

2006-03-13 Thread Terry Hancock
On Sun, 12 Mar 2006 21:50:32 +0800 "Keith" <[EMAIL PROTECTED]> wrote: > So lets say have two modules.. moduleA and moduleB. they > are both imported into a main python program using the > "from module import *" command. now moduleA has a dynamic > command that needs to access a command that is in m