What's the difference between .app and .py?

135 views
Skip to first unread message

m1ksu

unread,
Apr 8, 2017, 8:40:09 AM4/8/17
to Google App Engine

After reading the app.yaml reference a bit, I noticed that they use .app on Python files, and not .py. Why?


.app example.png

Jon Wayne Parrott

unread,
Apr 8, 2017, 3:11:42 PM4/8/17
to Google App Engine
Because it's a reference to a specific object within that Python file. It's essentially the same as "from main import app". app engine uses the "app" object within "main.Py" to handle requests.
Reply all
Reply to author
Forward
0 new messages