app.py

Using an IDE or text editor, create a file inside arenaapp called app.pyOpen this file and add the following lines; this file will be run by the Python executable to initiate the REST API application:

from application import app
app.run()

The __init__.py file allows the application folder to be imported by app.py, allowing the Flask object app  and its app.run() method to be called. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset