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 trial

Python Flask Basics Character Builder Starting the Builder

I am not understanding Flask

I am watching this course for the 2nd time and I am still not understanding it, it seems to be much more strange and difficult than all the previous Python courses, which I grasped rather easily. Have anyone had a similar experience? Any advice?

Irvel Nduva
Irvel Nduva
8,977 Points

I've experienced the exact same thing with this course :/ . I find that some of the motivations behind certain snippets of code are unclear / uncertain in various parts of the video.

What I'm doing is complementing things that are unclear with other info on the internet and looking in the answers section as most of the unclear things have been already answered there.

1 Answer

Alexander Rodriguez, MD
Alexander Rodriguez, MD
6,642 Points

HI Wilfredo. Flask is a set of libraries and code that allow you to build a web application. It contains a web server and modules that let you create the "rules" and "engine" that load and display files to the user. Instead of creating HTML files and serving them, you are create the logic that will create the content and serve that to the user. The advantage is that you can create a variety of sophisticated web sites that do much more than just provide static content.

Check out this link for a bit more info: http://pymbook.readthedocs.org/en/latest/flask.html#what-is-flask

If you can explain what you don't understand about Flask, I can try to be more specific. I hope this helps.

Best,