#index.py
import sys
from routes.frontend import index
app = index.app
if sys.platform == 'win32':
app.run(host='localhost', port=7000, debug=True, reloader=True)
#routes/frontend/index.py
from bottle import Bottle
app = Bottle()
@app.route('/')
def index():
return 'ទំព័រដើម'