These tutorials teach you how to process CGI data in Python as well as developing web applications. In addition to modules like cgi and cgitb, web application frameworks and platforms are also discussed.
Programming for security is an imperative for the web programmer. Any sloppy coding can be exploited and amount to significant financial and personal losses. Here are some tips on programming Python securely.
Testing CGI scripts can be a tedious task, especially when you do not know the environmental variables under which you are programming. Here is a simple script that gives you the information you need.
This tutorial discusses how to use Python to receive and process data from the Common Gateway Interface (CGI). It assumes that you are familiar with CGI basics. If you are not, you should first work through the material at
About.com's Webdesign site.
This tutorial discusses how to use Python to receive and process data from the Common Gateway Interface (CGI). It assumes that you are familiar with CGI basics. If you are not, you should first work through the material at
About.com's Webdesign site.
An RSS Reader is a straightforward program, and building one ensures that one knows the basics of the language. It also teaches the basics of Python web programming and XML handling. Follow these step-by-step tutorials to build a web-based, customisable RSS Reader.
So you have moved to a new job in data processing as part of web application development. At your old job, you used CGI for to process forms, but the new server does not allow CGI. The hotshot AJAX guru who left only has PHP and Javascript. You don't have time to muck about with Apache. What's a Python programmer supposed to do? Flourish and excel, and this tutorial will show you how.
The Data File for an RSS Reader in Python
Whether you want to develop a web-based diary or just want a calendar for your website, a dynamically created calendar in HTML is a very useful item to have. Creating one is easy with Python's calendar module.
The first frame of the HTML source for an RSS Reader in Python
The index.html file for an RSS Reader in Python
The PHP Layer for an RSS Reader
Python Code for an RSS Reader
Python CGI for an RSS Reader
This is a succinct, basic tutorial on using Python to access CGI.
If you need an easy-to-update website in a hurry, you could probably do with a content management system. This page lists several. The fact that they run on Python means that you can extend them with your own Python applications.
If you need something a bit higher level and more comprehensive than a content management system, you may try one of the web frameworks that run on Python. This page has a list of them. Again, the fact that they run on Python means that you can extend them with your own applications and modules.
Getting your mail through POP3 is easy with Python's poplib library. Here is how to use getpass and poplib to script your mail retrieval and to make a local backup of your mailbox.