Python Flask Basics Welcome to Flask Request Variables

Naivedya Bansal
Naivedya Bansal
5,483 Points

How to see output in local environment?

I have set up the flask on my ubuntu as described in the previous videos. when i try to run the simple_app program on my machine i just get the message running and when i tried writing the same http://0.0.0.0:8000/name on my browser i get an error message 404 not found how do i see the output on my local machine?

3 Answers

Robin Malhotra
Robin Malhotra
14,883 Points

So, if you've managed to run the python script(should work without hassle), simply open up a web browser window and type in "127.0.0.1:8000" or "localhost:8000"

Joe Law
Joe Law
5,040 Points

ROBIN!! THANKS MAN!

linux has different structure and shell : there are some command u should write in your command mode to run the output << more information about that on > http://askubuntu.com/questions/244378/run-python-in-terminal

sorry : my answer was for u if u have python program in your computer not about the online workspace >> it is better to install it in your linux from << https://www.python.org/downloads/