Learn Py4Web

py4web is an open-source, Python-based web framework. This site contains the material for a class that covers py4web in 10 weeks. The class is taught at the UCSC School of Engineering by Luca de Alfaro. Feel free to use the material provided here, and feel free to suggest new material (new videos, tutorials, and so forth). In fact, feel free to re-make improved versions of the videos, and I will be happy to include them.

In particular, the class is based on the following frameworks:

For more details, you can read the class syllabus.


The lectures are organized into units. The syllabus provides an overview of the whole class.


Creating HTML Pages

Serving Simple Pages

Onwards to Dynamic Pages

Working on a Project

The database in more depth

How-To Resources

License and Collaboration

All material here, and in particular all the videos and all the documents of which I am the author, is provided under the terms of the CC-BY-NC license. If you create translations, or captions in other languages, I would love to hear about it and facilitate the work the best I can, and host or point to them here. Likewise, if you create your own versions of some of the videos, let me know, and I may include them here.

Luca de Alfaro, 2021.