Book Image

Python 3 Web Development Beginner's Guide

By : Michel Anders
Book Image

Python 3 Web Development Beginner's Guide

By: Michel Anders

Overview of this book

<p>Building your own Python web applications provides you with the opportunity to have great functionality, with no restrictions. However, creating web applications with Python is not straightforward. Coupled with learning a new skill of developing web applications, you would normally have to learn how to work with a framework as well.</p> <p><em>Python 3 Web Development Beginner's Guide</em> shows you how to independently build your own web application that is easy to use, performs smoothly, and is themed to your taste – all without having to learn another web framework.</p> <p>Web development can take time and is often fiddly to get right. This book will show you how to design and implement a complex program from start to finish. Each chapter looks at a different type of web application, meaning that you will learn about a wide variety of features and how to add them to your custom web application. You will also learn to implement jQuery into your web application to give it extra functionality. By using the right combination of a wide range of tools, you can have a fully functional, complex web application up and running in no time.</p>
Table of Contents (19 chapters)
Python 3 Web Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

CherryPy


Writing an HTTP server in Python isn't that difficult, but writing and maintaining a robust and fully fledged web server that can act as an application server is quite something else. As we explained in Chapter 1, Choosing Your Tools, we will use CherryPy as our application server. At the time of writing, CherryPy's latest stable version for Python 3 is version 3.2.0 and can be downloaded from http://download.cherrypy.org/cherrypy/3.2.0/.

Note

Windows users should use the zip archive and unpack it before proceeding to the instructions in the next section. There is also a msi installer available at the indicated location, but this installer might not be able to find the correct Python installation in the Windows registry and will only work on 32-bit versions of Windows. Unpacking the zip archive and following the setup instructions next is therefore a safer bet and also identical on both Windows and Unix-like platforms.