Re: Importing from a module which contains more than one Class...

2009-05-11 Thread GKalman
? -- http://mail.python.org/mailman/listinfo/python-list Alex! Looks like I did misunderstand how 'import' works. Thanks for your help, now it works OK. -- View this message in context: http://www.nabble.com/Importing-from-a-module-which-contains-more-than-one-Class...-tp23476815p23481160

Importing from a module which contains more than one Class...

2009-05-10 Thread GKalman
) Classes? -- View this message in context: http://www.nabble.com/Importing-from-a-module-which-contains-more-than-one-Class...-tp23476815p23476815.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Re: Importing from a module which contains more than one Class...

2009-05-10 Thread alex23
GKalman kalma...@msn.com wrote: from MyClass import * from MyOtherClass import *     # error msg: no such module! As I mentioned above,  the code for MyClass MyOtherClass is in the same file . This program only works with a single Class in a file. That is when the File name is the SAME as