467,077 Members | 947 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

inspite of proper package structure, no module named xyz error.

hello all,
can some one suggest me the best solution for a package?
I have a package folder called idm and there are the following files in there.
__init__.py which is right now empty.
mainwindow.py which has a single class called MainWindow which is an
MDI Parent frame from wxpython.
student.py which is a child frame which gets called from the main menu.
exam.py, another child frame.
now when I try to run mainwindow.py file with the "import
idm"statement, I get the following error.
no module named idm.
what could be the problem?
I have imported all the necessary modules in mainwindow.
kindly help.
Jul 12 '07 #1
  • viewed: 938

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ian Sparks | last post: by
reply views Thread by Mark English | last post: by
4 posts views Thread by flupke | last post: by
11 posts views Thread by fortepianissimo | last post: by
4 posts views Thread by boris | last post: by
1 post views Thread by Mike Wyatt | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.