Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Tobias Edwards14,458 Points
Using flask on Python IDLE
How would I follow along with this series using Python IDLE?
Eric Hodgins29,207 Points
The way I ran it in a browser if you're not using workspaces is by doing this:
- Run "python simpleApp.py" in the terminal
- Type this as the url "http://localhost:8000"
If you want other devices on your network to view the webpage try this as the url: You'll need to know the local ip address of the computer running simpleApp.py. http://"ip address":8000
Hopefully that helps someone out.
Kenneth LoveTreehouse Guest Teacher
You should be able to follow along using IDLE if you want, you'll just need to make sure that the required packages are installed. For the Flask course, that should just be the
flask package, which you'll install with
pip install flask.