On 3月24日, 下午5時58分, andrei <andre...@gmail.com> wrote: > in your code.wsgi: > > import os, sys > sys.path.append(os.path.abspath(os.path.dirname(__file__))) > > On Mar 24, 5:52 am, helight <helight...@gmail.com> wrote: Yes,It works.
Thank you. And is there any way else! > > > > > 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 webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.