Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNaivedya Bansal
5,483 PointsHow 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
14,883 PointsSo, 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"
man odell
1,905 Pointslinux 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
man odell
1,905 Pointssorry : 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/
Joe Law
5,040 PointsJoe Law
5,040 PointsROBIN!! THANKS MAN!