I want to create a directory structure like the following. How can I get the account.py and game.py to handle the requests that go to \account\ and \game\ respectfully. All the app-engine examples I have seen have all the logic in on main.py that handle all urls.
app\account\
\account.py
\game\
\ game.py
\static\css
\js
\images
\app.yaml
\main.py
I tried the following in app.yaml but it didn't work
application: mefirst
version: 1
runtime: python
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /account
script: account.py
- url: .*
script: main.py