This is the structure of my application
app
--main.py
--views.py
--routes.py
In views.py I connect to the outside API. I run my application like this:
python main.py host_for_outside_api port_for_outside_api
How can I pass these host_for_outside_api and port_for_outside_api into views.py?
 
Comments
Post a Comment