I am creating a website using Python and the Bottle framework for the first time. It is in a directory set up with virtualenv.
I have the hello world website working perfectly, but before continuing development I would like to get auto_reloader working. I have tried adding the reloader=True to the run statement:
from bottle import run
import corecontrollers
run(host='localhost', port=8080, reloader=True)
However, this fails with the error:
C:\Documents and Settings\Me\My Documents\Python Projects\BottleSite\Scripts\python.exe: can't find '__main__' module in ''
It looks like a path error. I assume something is going wrong with the virtualenv directory.
Any pointers would be appreciated.
Why not try the official hello world sample with
reloader=True: