Over a million developers have joined DZone.

Building a Web Server with Python and Flask Tutorial - Parts 3 & 4

· Web Dev Zone

calicoJake has put together some great tutorial videos for creating a web server using Python and Flask, and in the first two episodes, he demonstrated how to create a Hello World! and then created a page that allowed arbitrary executions of Python expressions.

In the third video in this series, calicoJake creates a login page and protects the "dangerous" page created in part 2.  In the final video, he uses Python, Flask, and HTML5 to create a page to display and play music!

Python/Flask Tutorial Part 3


If login pages and security are boring to you, go to the next more exciting episode: http://youtu.be/Qe7JrEDUBlA

In this episode of building a web server using Python and Flask, we create a login page and protect that dangerous page we made in episode 2. This one is a little boring. I suggest you listen to Jonathon Coulton's song "Code Monkey" and really feel for him when he is criticized for his login page.

As always, let me know what you think. I have some good ideas for future episodes but let me know if you think of one too!

Source - http://dl.dropbox.com/u/48898/youtube%20files/ep3/ep3.zip

 

Python/Flask Tutorial Part 4



In this episode we use Python, Flask, and HTML5 to create a page for displaying and playing our music!

Let me know some other ideas for our web server.

Source - http://dl.dropbox.com/u/48898/youtube%20files/ep4/ep4.zip

 

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}