in your code.wsgi:

import os, sys
sys.path.append(os.path.abspath(os.path.dirname(__file__)))



On Mar 24, 5:52 am, helight <[email protected]> wrote:
> hi guys:
>
> I have such problem: I install apache and wsgi together, and write a
> webpy test file, it's ok,
>
> but if I want to import other files to the main file,it report
> error:ImportError: No module named xxx
>
> I don't how to handle this, any one can help me! thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to