Introduction1:13 with Kenneth Love
Flask is a great Python microframework that can make building web sites and applications much faster. It offers some handy and reliable shortcuts and tools that'll make your web development life a lot easier.
If you want to install Flask locally, I suggest using a virtualenv. You'll then want to do
pip install flask. If you need more information on
pip and local Python, check out the following two workshops: Setting Up A Local Python Environment in Windows or Setting Up a Local Python Environment in Mac OS X.
[MUSIC] 0:00 Hi, I'm Kenneth. 0:05 I know a lot of you are really interested in doing web development with Python. 0:06 It just so happens that's where most of my Python experience is, 0:09 so this should be a match made in heaven. 0:13 Before we jump into bigger frameworks like Django or 0:15 Pyramid, we should get comfortable with their smaller cousin, Flask. 0:18 Flask is a great little framework for building simpler web apps and 0:22 prototypes in Python. 0:25 It actually started out as an April Fool's joke by Armin Ronacher back in 2010. 0:26 People were so in love with the tools that Armin's code gave them that he had to 0:30 build and release a real framework. 0:33 I doubt he'll ever do another April Fool's joke. 0:36 Just because it started as a joke doesn't mean it's not a serious framework. 0:38 Also, I keep using that word, framework. 0:42 A framework is a collection of code that makes building something easier. 0:45 In this case, Flask is a framework that makes building web apps simpler. 0:48 Flask is solid and very capable, and has a very active and 0:54 vibrant community built around it. 0:57 Using Flask, some plugins, and 0:59 of course, standard Python, you should be able to build anything you want. 1:00 [BLANK_AUDIO] 1:03 If you're following along locally, you'll need to install Flask with pip. 1:05 Flask is preinstalled on Workspaces, so I'll be using that for the entire course. 1:07
You need to sign up for Treehouse in order to download course files.Sign up