Im trying google app engine with python27.
How do I place my script in a different folder instead of placing under same folder with the app.yaml?
handlers:
- url: /.*
script: code/helloworld.app ##### this give error #####
error message "ImportError: Import by filename is not supported."
If you're using Python 2.7 with multithreading, you need to reference by package name -
code.helloworld.app
.As Nick Johnson said: Make sure you reference by package name (
code.helloworld.app
). Also, make sure you have an emptycode/__init__.py
file.