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

2009-05-11 Thread GKalman
alex23 wrote: > > GKalman 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

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

2009-05-10 Thread alex23
GKalman 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 the Class n