Chapter 24. Network, web, and database programming

This chapter covers

  • Accessing databases in Python
  • Network programming in Python
  • Creating Python web applications
  • Writing a sample project: creating a message wall

By this point, we’ve surveyed a lot of what Python can do. The final area to examine is one of the most important: using Python to build web applications that serve dynamic content. Many libraries and frameworks for creating web applications are available, in many languages—Java, PHP, Perl, and Ruby to name a few. As web applications continue to evolve and increase in importance, Python’s role in this space continues to grow.

Dynamic web applications typically store their content in databases and use the results of queries on those ...

Get The Quick Python Book, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.