1. Technology
Send to a Friend via Email

Web Development

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 Secure Web Applications in Python
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 With Python
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.

Programming CGI With Python
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.

Creating HTML and XHTML Pages in Python - With and Without CGI
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.

Building an RSS Reader With Python
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.

Using PHP and Javascript instead of CGI
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.

Part 5: How Python Processes Non-English RSS Feeds
Multi-lingual processing in Python is important for Python web application development.

Part 4: Handling Errors the Way You Want
A Python program is not fully-functional until it crashes the way you want, handling errors. Here we look at error checking for the Python-powered RSS Reader.

Build An RSS Reader With Python: The Code
This page links to the source code for the tutorial series on building an RSS Reader with Python.

feedlist.dat
The Data File for an RSS Reader in Python

A Python-Generated HTML Calendar
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.

menu.html - The 1st Frame of the HTML for an RSS Reader in Python
The first frame of the HTML source for an RSS Reader in Python

index.html - The main HTML file for an RSS Reader in Python
The index.html file for an RSS Reader in Python

RSSReader.php
The PHP Layer for an RSS Reader

RSSReader.py
Python Code for an RSS Reader

RSSReader.cgi
Python CGI for an RSS Reader

Part 2: Getting Feed Information From the Data File With Python
The first step in any software project is understanding the problem and then laying the groundwork. Here we consider the tasks of an RSS Reader and lay the groundwork in HTML, CGI, and PHP.

CGI in Python
This is a succinct, basic tutorial on using Python to access CGI.

Part 1: Laying the Groundwork with HTML, CGI, and PHP
The first step in any software project is understanding the problem and then laying the groundwork. Here we consider the tasks of an RSS Reader and lay the groundwork in HTML, CGI, and PHP.

Content Management Systems
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.

Part 3: Creating a Feed Class and Finishing the Python Program
The first step in any software project is understanding the problem and then laying the groundwork. Here we consider the tasks of an RSS Reader and lay the groundwork in HTML, CGI, and PHP.

Web Frameworks
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.

Retrieving POP3 Email with poplib
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.

©2014 About.com. All rights reserved.