470,855 Members | 1,163 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Import Error

Hi,
I am using Karrigell & Sprite for webdevelopment. Sprite is placed in
the main folder of my app. I got a sub-folder called admin. I am using
the below line to import Sprite within the subfolder.

from ..sprite import Sprite

Most of the time it works. However time to time, it will throw an error
that there is no module called Sprite. I delete the .pyc file, call a
page in the main folder, then it will work.

Any help how I can resolve it?

Thanks in advance,
Joseph

Oct 27 '06 #1
0 885

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by jean.rossier | last post: by
3 posts views Thread by Neter Smith | last post: by
7 posts views Thread by Ron Adam | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.