I changed the App file upload part from
- url: /(.*\.html)
static_files: \1
upload: index.html
to
- url: /(.*\.html)
static_files: \1
upload: .*\.html
Now my App file is like
application: alshafarconstruction
version: 1
runtime: python
api_version: 1
handlers:
- url: /(.*\.(gif|png|jpg|ico|js|css|swf|xml))
static_files: \1
upload: (.*\.(gif|png|jpg|ico|js|css|swf|xml))
- url: /(.*\.html)
static_files: \1
upload: .*\.html
- url: /.*
script: main.py
which make sure all the html files are uploaded ( courtesy : to the friend who helped me in another community)