erisk. Could you open a
> python shell in your Module_Class folder, type 'from MyClass import
> MyClass, MyOtherClass', and past whatever traceback you get here?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
Alex!
Looks like I did misunderstand how '
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
more than one (unrelated) 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