Python Sitemap - Page 1 2016-09-26

Reading from a PostgreSQL Database With Python - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Psycopg and Python: Perfect Together - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Receiving Command Line Arguments for the PostgreSQL Statement - I - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Receiving Command Line Arguments for the PostgreSQL Statement - II - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Connecting to PostgreSQL Through Psycopg - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Forming the PostgreSQL SELECT Statement - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Executing the SELECT Statement Through Psycopg - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

A Container for the Results - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Finishing and Executing the Program - About Python
This tutorial teaches how to read data from a PostgreSQL database using psycopg.

Mark Your Place in PostgreSQL With Python
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to mark our place in the database using Python's psycopg module.

Python, PostgreSQL, and the 'C' Word
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to commit Python data into a PostgreSQL database using psycopg.

Inserting Data Into a PostgreSQL Database
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to open the database using Python's psycopg module.

Python to PostgreSQL: Open Sesame
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to open the database using Python's psycopg module.

Separating PostgreSQL Form and Python Function
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to separate PostgreSQL form from Python's functionality using psycopg.

Define the Parameters
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to commit Python data into a PostgreSQL database using psycopg.

Put it All Together And Call It
In this tutorial, we will program Python to insert data into a PostgreSQL database. Here we see how to pull the parts together and call the insert function.

Using os.environ to Know Your Environment - About Python
It is hard to program CGI when you do not know your environment. Here is how to use os.environ to learn about the CGI world of your script.

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

Testing CGI With Python: What You Need to Import - About Python
Testing CGI with Python is pretty simple when you know how. Here is how to do it.

Getting the CGI Environment Variables - About Python
Testing CGI effectively involves knowing the environment variables. Here is how to get them with os.environ.

Some Criteria for Choosing a Text Editor - About Python
Choosing a text editor is like choosing a car. You can trade it in later, but you have to live with it while you have it. Here are some criteria for choosing one you can live with.

Recommended Text Editors - About Python
When starting to program, the last thing you need is a text editor to ruin the experience. Here I recommend a few to get you started.

Choosing a Text Editor for Python Programming - About Python
Before you can start programming in Python, you must ensure you have the right equipment. In addition to having Python installed, you will need a text editor. Here I offer some suggestions on choosing one that you will meet your needs.

Learn Python - Tutorials and Tips
Python is one of the most powerful and popular dynamic languages in use today and is easy to learn.

Beginning Python: Controlling the Flow - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Modules - Part 2: Importing Functions From Your Own Programs - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Functions - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Classes - Part 1 - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Beginning Python: Data Types - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python.

Forming Conditions - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Modules - Part 1: Importing Modules From the Python Library - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

PHP as a CGI stand-in - About Python
PHP can function as a CGI stand-in, passing data to and fro the Python program that process it. It is more flexible than CGI and neatly separates form from function.

Creating HTML and XHTML Pages in Python
This tutorial discusses how to use Python and CGI to create HTML pages on the fly. It covers plain HTML pages as well as HTML forms. It assumes that you are familiar with CGI basics.

Creating New Forms - About Python
This tutorial discusses how to use Python and CGI to create plain HTML pages and HTML forms.

Concluding Comments - About Python
This tutorial discusses how to use Python and CGI to create plain HTML pages and HTML forms.

Part 1: Laying the Groundwork with HTML, CGI, and PHP - About Python
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.

On a Web Server - About Python
A few words of caution before you run this Python-powered RSS Reader on a web server.

The Web Front End's Three Parts - About Python
This step shows how to build the web front end of an RSS Reader in Python.

The Three Frames of the Web Interface - About Python
Here we build the web interface of the RSS Reader using three frames.

The Only Real HTML Page 1: The Header of menu.html - About Python
Here is how to create the HTML menu of menu.html, part of the Python-powered RSS Reader application.

The Only Real HTML Page 2: The Menu as a Web Form - About Python
This step shows how to write the HTML of the web form for a Python-powered RSS Reader application.

PHP Plays Middleman Between Python and the HTML Interface - About Python
Here is how to write the PHP code that stands between Python and the HTML.

You are Only as Good as Your Data File - About Python
This step shows how to construct the data file for an RSS Reader in Python.

The Python Bang Line - About Python
Here we consider the tasks of building an RSS Reader in Python and lay the groundwork in HTML, CGI, and PHP.

Holding the User Data in Python With CGI - About Python
Here we build the CGI for an RSS Reader in Python using the Python modules cgi and cgitb.

Holding the User Data in Python With PHP - About Python
Here we build the PHP server-side script for an RSS Reader in Python.

Reading the RSS Feed as a Python File Object - About Python
Here we read the RSS feed as a Python file object in order to process it for the RSS Reader in Python.

Using a Python Iterator - About Python
Here we build the Python iterator for an RSS Reader in Python.

Calling Python's Function, Retrieving the Feed Address - About Python
Here we call the Python function and retrieve the feed address for the RSS Reader in Python.

Getting the Titles and Links and Forming the Output - About Python
Here we use Python's xml module to parse the xml structure and get the titles and links before forming the output.

A Class Without An Object is Useless - About Python
Here we instantiate Python's Feed class as an object called 'feed' in order to represent the RSS feed.

Part 2: Getting Feed Information From the Data File With Python - About 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.

Part 3: Creating a Feed Class and Finishing the Python Program - About Python
The first step in any software project is understanding the problem and then laying the groundwork. Here we build a Python program that fetches RSS feeds and presents them in HTML via CGI or via PHP and Javascript

Making a Model RSS Feed With Python - About Python
The first step in any software project is understanding the problem and then laying the groundwork. Here we build the Feed class for an RSS Reader in Python.

Getting the Feed's URL for Python to Retrieve - About Python
The first step in any software project is understanding the problem and then laying the groundwork. Here we get the feed's URL for Python to retrieve.

The Tasks This Python Program Must Do - About Python
Here we build an RSS Reader in Python, using the Python modules sys, string, urllib2, and xml (both dom and minidom).

Defining the First Python Function - About Python
Here we define the first function for an RSS Reader in Python.

Defining and Calling the main() Thing - About Python
Here we define the main() function of the Python-powered RSS reader and call it.

How does Python compare to Ruby? - About Python
Python is compares well to Ruby. It is less obtuse and more flexible than Ruby.

How Does Python Compare to Java? - About Python
Python and Java are executed in very different ways.

How to Analyze a File All-At-Once Using a Dictionary - About Python
This tip gives advice on analyzing one or more files simultaneously using Python's dictionary data types. This type of analysis is useful for local analysis (as opposed to network server usage) when parts of one or more files need to be consulted simultaneously and in rapid succession.

What is Python? - About Python
This series of pages discusses what Python is, why one would want to use it, and how it differs from other programming languages.

A Brief History of Python - About Python
Python is a general purpose language.

How Does Python Compare to PHP? - About Python
Python is easier to use and maintain than PHP.

How Does Python Compare to Perl? - About Python
Python is cleaner and therefore much easier to read than Perl.

The main() Thing - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

Tying It Up With a Bow - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

Importing MySQLdb - About Python
How to import MySQLdb. Python.

"Hello, World!": A Quick Tutorial on Python - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

Beginning Python Programming - Python Tutorials for Beginners
This series of tutorials is intended to help anyone learn to program in Python. If you are new to computers, however, you may benefit from the absolute beginner's tutorial: How a Computer Looks at Your Program.

The main() Thing - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Tying It Up With a Bow - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Importing Modules and Assigning Values - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

A Class Called Felicitations - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

Defining Functions - About Python
The purpose of this Hello World tutorial is to take a simple program and build upon it to illustrate the various elements of the Python language.

A Class Called Felicitations - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Define Your holiday() - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Defining Functions - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Importing Modules and Assigning Values - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

"Merry Christmas!": A Quick Tour of Python - About Python
The purpose of this tutorial is to take a simple program and build upon it in silly ways to illustrate the various elements of the Python language. You would never write a program like this in real life (except to illustrate a programming language on About.com), but you certainly will use the concepts illustrated here in 90% of the programs you write. If you find this tutorial hard to follow, I encourage you to read

Exception Exemplified - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python. This step looks at an example of an exception.

Raising Your Own Exceptions With raise - Part 2 - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python while using raise. This step looks at how to raise your own exceptions.

If at First You Don't Succeed - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python while using try and except. This step looks at try...except statements.

Raising Your Own Exceptions With raise - Part 1 - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python while using raise. This step looks at raising your own exceptions with raise.

The Basic Layout: HTML - CGI or PHP - Python power at back. - About Python
Here we build the basic layout of an RSS Reader in Python.

The HTML and CSS Preamble - About 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 a snap with Python's calendar module. This step addresses the HTML and CSS preambles to the calendar.

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

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.

Getting Started With Python
Learn to be productive with Python quickly using these tutorials.

Programming Glossary
This is a glossary of the more technical terms used on About.com's Python site.

Python Editors
To program Python, most any text editor will do, but some do better than others. Here are several guides for choosing and using text editors for Python.

Create an HTML Calendar In Python Dynamically
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 a snap with Python's calendar module.

Calling the main() Function - About 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 a snap with Python's calendar module. Here we define and call the main function of the program.

Preparing the Months of the Year - About 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 a snap with Python's calendar module. Here we see how to prepare the months of the year for output.

A Day Called "Today" - About 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 a snap with Python's calendar module. Here we see how to set a variable containing the current date.

Splitting the Current Date - About 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 a snap with Python's calendar module. This step shows how to split the current date into usable parts.

Printing the Days of the Week - About 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 a snap with Python's calendar module. Here is how to print the days of the week.

Getting the Calendar Data - About 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 a snap with Python's calendar module. Here is how to get the calendar data.

The Number of Weeks In A Month - About 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 a snap with Python's calendar module. Here is how to set the number of weeks in a month.

The 'for' Loop Examined - About 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 a snap with Python's calendar module. Here we look at the 'for' loop which determines the weeks of the month.

Broken Access Controls
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that includes access controls.

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.

Buffer Overflows
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. Fortunately, there are some things that Python programmers don't need to worry about so much, like buffer overflows.

Broken Authentication and Session Management
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that includes solid authentication and session management.

Cross Site Scripting (XSS)
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that includes securing against cross site scripting (XSS).

Insecure Storage
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that ensures the data being processed is stored securely.

Denial of Service
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that helps prevent application-oriented denial of service attacks.

Configuration Management
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that practices secure session and configuration management.

Proper Error Handling
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming that includes proper error handling.

Validate Input to Avoid Injections
Programming for security is an imperative for the web programmer. But it does not necessitate a siege mentality. As discussed here, secure programming is smarter programming.

Creating HTML Output - About Python
This tutorial discusses how to use Python and CGI to create HTML pages on the fly. It assumes that you are familiar with HTML, HTML forms, and CGI basics.

Feeding Options To Your Script - About Python
This tutorial discusses how to use Python and CGI to create plain HTML pages and HTML forms.

Feeding Options From the Command Line - About Python
This tutorial discusses how to use Python and CGI to create plain HTML pages and HTML forms.

Beginning Python: Exceptions, Errors, and Warnings
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the errors, exceptions, and warnings within Python.

Try, Try Again - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python while using try and except. This step looks at raising multiple try-except statements. Page 4.

Taking Exception - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the errors, exceptions, and warnings within Python while using try and except. This step addresses combined python exceptions.

If All Else Fails... - About Python
This tutorial is part of a series designed to help you learn to program in Python. This tutorial looks specifically at the exceptions, errors, and warnings within Python while using try and except. This step looks at multiple try-except statements.

Peer-to-Peer Networking Overview
One of the more avant-garde forms of network programming is peer-to-peer networking. Here is an introduction to what peer-to-peer entails and what it looks like in general terms.

Python Networking: Peer-to-Peer Networking: A Network is a Network
Peer-to-peer networks vary little in their dynamics from other networks. Here is an overview of where the differences lie.

The Difference: The DNS-like Dynamic
The most critical difference between P2P networks and more formal structures is how the location of the host and host-like systems is communicated to the client(s). This discussion gives an overview of the solutions used.

Degrees of Separation: Populating the Peer Database
Peer-to-peer networks vary in how they populate the database(s) of the peers on the network. Everything from hard-wiring to a secret handshake are used in the various P2P networks.

Check the DNS of URLs or IP Addresses With Python
In the Wild World of the Web, checking the DNS entry of a URL or IP address is increasingly necessary. Here is how to do it with the Python socket module

Python String Methods
Python's built-in string methods are incredibly powerful. As the name implies, each of the following methods are available through class String. Every string object is an instance of that class and has these methods available. This is the first of a two-part reference on Python's built-in string methods.

Python String Methods - 2 of 2 - About Python
Python's built-in string methods are incredibly powerful. As the name implies, each of the following methods are available through class String. Every string object is an instance of that class and has these methods available. This is the second of a two-part reference on Python's built-in string methods. Page 2.

Building a Web Server in Python: Introduction to Socket
Web servers are an invaluable part of the Internet. But sometimes Apache is over the top for a web service solution. Sometimes all you need is a little program to deliver data upon request. Here is how to build one with Python's socket module.

Logging Into the FTP Server
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to interact with FTP servers over an open connection.

Initiating the Connection
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to interact with FTP servers over an open connection.

Plain Text FTP Storage and Retrieval
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to store and retrieve lines of data using a plain text format.

FTP Storage and Retrieval in Binary Mode
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to store and retrieve lines of data using binary mode.

Why Use an FTP Client in Python?
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to interact with FTP servers over an open connection.

Importing ftplib
FTP is a critical protocol for a host of networking solutions. Here is how to use Python's ftplib module to interact with FTP servers over an open connection.

Python - Network Programming Is Not Voodoo
Network programming is not Python voodoo when you understand the basics of clients and servers. Here is how to build a basic web client in Python.

Beginning Python - 2nd Edition - About Python
Beginning Python is fast becoming a classic introduction to the language. Here is my review of the second edition of Hetland's book.

Python for Unix and Linux System Administration - About Python
Python for Unix and Linux System Administration is an excellent surveyof how to use Python to administer Linux and Unix systems.

http://python.about.com/od/


Blog


Using Pickle to Save Objects in Python - About Python
Python's pickle module is a quick and easy way to save Python objects in a standard format. Here is how to save and restore Python objects with pickle.

How to Analyze a File Line-By-Line With Python - About Python
This tip gives advice on analyzing a file one line at a time. This type of analysis is particularly useful when writing a program that will be run several times simultaneously (e.g., CGI scripts).

WHILE Loops - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

IF...ELIF...ELSE Loops - Part 2 - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Indentation - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

IF...ELIF...ELSE Loops - Part 1 - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

FOR Loops - Part 1 - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

FOR Loops - Part 2: range() and xrange() - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the control tools used in Python. If you are new to Python, this tutorial is for you. If you are new to programming, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Exceptions and Errors - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

File Input and Output - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Classes - Part 2 - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Comments and Remarks - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Beginning Python: Putting It All Together With Syntax - About Python
This tutorial is part of a series on the fundamentals of Python. It covers the syntax used in Python programming. If you are new to Python, this tutorial is for you. If you are completely new to programming but have been using a computer for a little while, you should do fine with these tutorials. If you are completely new to computers, you may want to read through the tutorial

Python Regular Expressions (regex): The Colon ('(?:)') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the use of the colon.

Python Regular Expressions (regex): Curly Braces ('{}') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses curly braces.

Python Regular Expressions (regex): The Dollar Sign ('$') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the dollar sign.

Python Regular Expressions (regex): The Pipe ('|') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the pipe.

Python Regular Expressions (regex): The Plus Sign ('+') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the plus sign.

Python Regular Expressions (regex): Special Characters ('ABdDsSwW') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses special characters.

Tuples - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at tuples in Python.

Python's String Templates - About Python
Python's string module provides a Template class to process strings powerfully and en masse. Here is a description of the methods and the single attribute of this class and an example of how to use template string objects.

String Formatting Operations - About Python
Python's string formatting operations are important to know for most any program that you write. Here is a comprehensive guide to them.

Dictionaries - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at dictionaries in Python.

Lists - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at lists in Python.

Constants Provided in Python's String Module - About Python
Python's string module provides many helpful constants that you can use in your programming. Here is each of the constants and a brief description of each.

Deprecated Functions in Python's String Module - About Python
Python's string module offers a bevy of functionality. Some of it, however, has been moved to the built-in string methods. Here are the functions that are deprecated.

Strings - Part 1 - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at Python's handling of character strings

Strings - Part 2 - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at Python's handling of character strings

Strings - Part 3 - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at Python's handling of character strings

Accessing Variables - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at how to access variables in Python.

Working With Variables - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at how to work with variables in Python.

An Explanation of Forming RegEx in Python - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Still tempest tossed about regular expressions? Here is an explanation of how to form them.

Python Strings Along Dogs and Cats - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Python strings can hold more than one word. Here is how Python views two words in one string.

"I never metacharacter I didn't like." - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Python handles an array of regular expression metacharacters. Here is an introduction to some.

An Example of Pattern Matching in Python - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. How do you match some but not all of a list? Use Python's regular expressions to your advantage.

How Python Views a String: Every Dog has Its Null Value - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. This is how Python views the string 'dog'.

How Did the Python Eat the String? One Byte at a Time - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Python reads strings incrementally. This page shows how it 'views' the parts of a string.

Python's Compound Metacharacters - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Python handles an array of regular expression metacharacters. Here is an introduction to compound metacharacters.

Curly Braces in Python Regular Expressions - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Python's understanding of curly braces saves much time in programming and makes for more efficient code.

Tightening Python's Grip: Ranges in Python Pattern Matching - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Understanding regex is key to Python programming. Using curly braces to express ranges helps with pattern matching in Python.

Backup Your Gmail With poplib - About Python
Getting your Google mail through POP3 is easy with Python's poplib library. Here is how to use getpass and poplib to script your Gmail retrieval and to make a local backup of your mailbox.

The Code - About Python
Getting your Google mail through POP3 is easy with Python's poplib library. Here is how to use getpass and poplib to script your Gmail retrieval and to make a local backup of your mailbox.

The Template - About Python
Getting your Google mail through POP3 is easy with Python's poplib library. Here is how to use getpass and poplib to script your Gmail retrieval and to make a local backup of your mailbox.

Python Regular Expressions (regex): Forming a Regular Expression in Python - About Python
Every successful Python programmer understands Python's regular expression (regex) system and how to formulate regular expressions for matching. Here is how you can do it.

Reading a Single Line from a File With Python - About Python
If you ever find that you need to read the same line from a file every time you read it in Python, this tip shows you how using the linecache module.

Beginning Python - About Python
My review of

Integers - About Python
This beginning tutorial is part of a series for learning the fundamentals of Python. It covers the data types used in Python. Here we look at Python's handling of integers.

Python Built-In Modules: Truth Value Testing - About Python
Testing values true or false is a critical part of Python programming. Here are some of the finer details of what tests as false and what tests as true in Python

Top Websites - About Python
This page offers links to online resources for learning and applying Python to your daily tasks. While most of the resources listed here are for the beginner, some are geared for more advanced learners.

XRange Type - About Python
Python's xrange() function is a very easy way to generate a range without consuming a lot of resources. Here is a reference to how it is used and what operations it supports.

Special Kinds of POP3 Authentication - About Python
These are the two special kinds of POP3 authentication offered by poplib. Whether you are coding for the Web, the desktop, or for handheld communication devices (PDAs, smartphones, etc.), being able to collect email is an important part of network programming. Here is how to do it.

Suggested Resources: Online - About Python
This page offers links to online resources for learning and applying Python to your daily tasks. While most of the resources listed here are for the beginner, some are geared for more advanced learners.

Logging Into a POP3 Mailbox - About Python
The basic methods for logging into a POP3 mailbox with poplib. Whether you are coding for the Web, the desktop, or for handheld communication devices (PDAs, smartphones, etc.), being able to collect email is an important part of network programming.

What is a Regular Expression? - About Python
Regular expressions are a Python programmer's best friend. Understanding what they are and how to use them will help you leap tall programming tasks in a single bound.

Using poplib to Access a POP3 Mail Server - About Python
Whether you are coding for the Web, the desktop, or for handheld communication devices (PDAs, smartphones, etc.), being able to collect email is an important part of network programming. Here is how to use the poplib module to access a remote POP3 mailbox.

Managing a POP3 Mailbox - About Python
The basic methods for managing a POP3 mailbox remotely with poplib. Whether you are coding for the Web, the desktop, or for handheld communication devices (PDAs, smartphones, etc.), being able to collect email is an important part of network programming.

Python Regular Expression Examples: Escaped S ('S') - About Python
Python's regular expression (regex) engine is very powerful. This page discusses square braces or brackets.

Classes: socket (Part 1) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it.

Classes: socket (Part 2) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 2.

Classes: socket (Part 4) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 4.

Functions (Part 3) and Data (Part 1) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 3.

Classes: error, gaierror, herror - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 5.

Functions (Part 2) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 2.

Data (Part 2) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 4.

Data (Part 3) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 5.

Using Shelve to Save Objects in Python - About Python
Python's shelve module is a powerful way to include persistence and to save objects in an easy-access database format. Here is how to open, assign value to, restore value from, and close shelve dictionaries and databases.

Python's socket Module: An Introduction - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it.

Classes: SSLType, SocketType (Part 1) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 2.

Classes: socket (Part 3) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 3.

Functions (Part 1) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it.

Culling Out the Recipients - About Python
Training an email spam filter can take a good deal of time and effort. Use an email whitelist to jumpstart the spam filter process. Here's how to cull out the recipients from your sent folder

Sort and Print - About Python
Training an email spam filter can take a good deal of time and effort. Here's how to sort and print recipients from your sent folder so you can train your spam filter quickly.

Python Regular Expression Examples: Curly Braces With Question Marks - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the use of curly braces with question marks.

Classes: SSLType, SocketType (Part 2) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 3.

Classes: SSLType, SocketType (Part 3) - About Python
Python's socket module is the foundational module for all network programming in Python. Here is a reference of the functions, classes, and constants available through it. Page 4.

Building a Whitelist for a Spam Filter - About Python
Training a spam filter can take a good deal of time and effort. Use an email whitelist to jumpstart the spam filter process. Here's how to create a whitelist of good email addresses for your spam filter.

Define Main() - About Python
Training an email spam filter can take a good deal of time and effort. Use an email whitelist to jumpstart the spam filter process. Here's how to create the main() function for creating such a whitelist.

Calling main() - About Python
Training an email spam filter can take a good deal of time and effort. Here's how to sort and print recipients from your sent folder so you can train your spam filter quickly.

Import First Things First - About Python
Training a spam filter can take a good deal of time and effort. Use an email whitelist to jumpstart the spam filter process. Here's how to create a whitelist of good email addresses for your spam filter. First import sys and mailbox.

Sequence Types - About Python
Python supports several kinds of sequences. Here is a guide to each.

Pythons 're' Module: RegEx MatchObjects - About Python
Python's re module is without a doubt one of the most commonlyused parts of the Python library. Here is a reference of the methods and attributes available for every match of a regular expression.

Miscellaneous Process-Oriented Functions - About Python
Python's os module provides a convenient interface for many system-level operations. This overview of the module shows how to interact dynamically with the operating system and runtime environment of the Python interpreter.

get() - About Python
Python's os module provides a convenient interface for many system-level operations. This overview of the module shows how to interact dynamically with the operating system and runtime environment of the Python interpreter.

set() - About Python
Python's os module provides a convenient interface for many system-level operations. This overview of the module shows how to interact dynamically with the operating system and runtime environment of the Python interpreter.

Python Built-In Types: set and frozenset - About Python
Python's built-in set types are helpful ways to create both mutable and immutable sets of values for use in your programming. Here are the functions and methods that you can use with each.

Process Manipulation With Python's os Module - About Python
Python's os module provides a convenient interface for many system-level operations. This overview of the module shows how to interact dynamically with the operating system and runtime environment of the Python interpreter.

More File Handling Calls - Part 1 - About Python
Python's os module handles much of the language's portability with respect to the local operating system. Here is how to do cross-platform system programming with Python.

More File Handling Calls - Part 2 - About Python
Python's os module handles much of the language's portability with respect to the local operating system. Here is how to do cross-platform system programming with Python.

lseek() and ye can read() - About Python
Python's os module handles much of the language's portability with respect to the local operating system. Here is how to do cross-platform system programming with Python using os.lseek() and os.read().

Python Regular Expression Examples: Disorder - About Python
Python's regular expression (regex) engine is very powerful. This page discusses square braces or brackets.

Pythons 're' Module - About Python
Python's re module is without a doubt one of the most commonlyused parts of the Python library. Remember its functions, on theother hand, is not always easy. Here is a reference to help you keep it all straight.

The Python Standard Library - About Python
This page offers an overview of the most commonly used modules from the Python Standard Library. It is not intended as a replacement for the documentation. Rather, it highlights modules which factor into most general purpose programming projects.

What Is a File Descriptor, Anyway? - About Python
Python's os module handles much of the language's portability with respect to the local operating system. Here is how to do cross-platform system programming with Python.

Python Built-In Modules: Boolean Operations - About Python
Boolean operators are a significant part of Python programming. Here is a reference on how to use them.

Using File Descriptors in Python's os Module - About Python
Python's os module handles much of the language's portability with respect to the local operating system. Here is how to do cross-platform system programming with Python.

Python Regular Expression Examples: the Dollar Sign - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the dollar symbol.

Numeric Types and Operations - About Python
Python recognises several types of numbers. Here is a reference for the numeric types that Python knows and what you can do with them.

Mutable Sequences - About Python
Python supports several operations that modify objects in situ. These are called mutable because no output is necessary. Here is a guide to what they are and how they are used.

Python Regular Expression Examples: the Escape Character or Backslash - About Python
Python's regular expression (regex) engine is very powerful. This page discusses the escape character or backslash.

Python Regular Expression Examples: Flags - About Python
Python's regular expression (regex) engine is very powerful. This page discusses regular expression flags.

Python's Built-In Exceptions - About Python
Python's built-in exceptions are many; knowing them really helps your programming.

Python's Iterators - About Python
Python's iterators are very powerful and helpful. Here is a guide to the iterator protocol used in Python.

Comparison Operations - About Python
Python's comparison operations are pretty straightforward. Here is a reference to them with a bit of detail that you may not know.

Bit String Operations - About Python
Python's bit string operations are an important part of advanced programming. Here you will find a reference to the bit-wise operators in Python.

Inserting Data Into a MySQL Database - About Python
If you want to insert data into a MySQL database repeatedly and without worrying about SQL syntax, this tutorial is for you.

Getting MySQLdb - About Python
How to get MySQLdb. Python.

Taking Data From the Command Line - About Python
How to take user's data from the command line.

A Touch of Class - About Python
Define a class with a method for inserting the data.

The main() Thing - About Python
Use the main() function to compartmentalize the program, making it easier to maintain.

Calling the main() Function - About Python
How to call the main() function.

Executing the Program - About Python
How to execute the program. Python.

Reading from a MySQL Database With Python - About Python
Python comes with

Importing MYSQLdb For Use in Your Program - About Python
Python comes with

A Class Called Table - About Python
Python comes with

Defining an Instance of Table - About Python
Python comes with

Querying the Database - About Python
Python comes with

Where To Go From Here - About Python
Python comes with

Blackbox Debugging - About Python
Blackbox debugging involves the separation of a program's parts in order to diagnose where an error lies.

Concatenate - About Python
This is a glossary of the more technical terms used on About.com's Python site.

Shell - About Python
Define the

Final Analysis and Shutting Down - About Python
When all the data is delivered to the client, the web server must then be able to shutdown gracefully. In doing so, it must close any file and socket objects that exist.

Sending Data to the Client - About Python
For a web server to send data, we simply write to the file object that is bound to the appropriate socket. Here is how to do that with Python.

Communicating Via Sockets - About Python
Python web servers depend on sockets to communicate. Without sockets and ports, network communication comes to a halt.

Hosts and Ports - About Python
Web servers operate on hosts and ports but communicate through sockets. Here is the host and port information for this Python web server.

Creating a Socket - About Python
Before a web server can send data, a socket must be created. Here is how to create a socket in Python.

Setting Socket Options - About Python
When creating a web server in Python, one must set the options of the socket. The options include whether you are referencing it by socket or by IP information. Here is how to do so in Python.

Binding the Port to the Socket - About Python
Now that our web server has a port and a socket, we need to bind the two together. In Python, the socket object has a bind() method.

Handling a Server Request - About Python
A web server is worthless if it cannot handle a web request. Here is how to make a file object from which you can read a request.

Substring - About Python
A part of the whole string. Python.

Changes in the Environment - About Python
The difference between text and data is critical for programming in Python 3.0. One of the key areas impacted by this difference is where the interpreter, and your Python program, interact with the environment of the OS.

Converting str to bytes via Methods - About Python
The difference between text and data is critical for programming in Python 3.0. One of the key areas impacted by this is the variable type - str and bytes.

Running Servers - About Python
All network transactions happen between clients and servers. Here is how servers, sockets, and ports relate to clients and requests.

A Guide to Text vs Data in Python 3.0 - About Python
The difference between text and data is critical for programming in Python 3.0. Understanding this all-pervasive difference and how it relates to your programming will save you a lot of debugging time.

Converting str to bytes via Functions - About Python
The difference between text and data is critical for programming in Python 3.0. One of the key areas impacted by this is converting between str and bytes.

Python-Powered Port Scanner - About Python
Port scanning is a valuable facility for network programming as well as security testing for your network. Here is how to build a port scanner in Python.

Importing the Modules - About Python
Python's socket module is a critical component of any network programming task. Here is how to import that and the other necessary network programming modules for a Python-powered port scanner.

Defining the Port Scanner - About Python
Python's socket module is a critical component of any network programming task. Here is the Python function that does all the work of scanning the ports of your network.

Options and Name Calling - About Python
Python's socket module is a critical component of any network programming task. Here is the main function that serves as the brains of the entire Python program.

Printing the Web Page With Python - About Python
Python web clients retrieve web pages as file objects, but they save them as variables. Here is how to work with them.

Creating a Socket With Python - About Python
The first step in programming toward the Internet is to tell Python to create a socket object. Here is how to do it.

The Python Code for a Simple Web Client Program - About Python
To ensure that you have all the lines needed for this simple web client, here is the code used in the tutorial.

How Python is Used - About Python
Programming is an object-oriented interpreted language.

Importing Modules for Network Programming in Python - About Python
Network programming in Python requires only two modules to make a very practical and powerful program: sys and socket.

Connecting Sockets With Python - About Python
After opening a socket, Python network programming requires a connection to that socket. Here is how to create one.

Python Asks the Web Server for the File - About Python
With Python, web client communication is just a matter of asking the server for a file. Here is how to ask politely.

Giving Python the Internet Protocol Information - About Python
Programming for the Web with Python is simply a matter of giving it a few salient details. Every publically available file on the Internet is accessible with an address, a port, and and a file name.

Programming Networks in Python: the Basics - About Python
All network transactions happen between clients and servers. In most protocols, the clients ask a certain address and receive data.

Network Protocols That Python Can Speak - About Python
While most programming is done with local resources in mind (i.e., your computer), Python is more than able to pull data from the furthest reaches of the globe for whatever purpose you deem necessary. It does this via network protocols. A protocol is simply a set format for exchanging information. These pages address how your Python program can communicate over a network using protocols such as SOAP and TCP/IP as well as platforms such as Zope and Plone.

Network Boundaries and Python Programming - About Python
All but the simplest programs operate in a web-enabled environment. Navigating the (in)security of such an environment is notoriously difficult. This article looks briefly at the state of network security and what it means for Python programmers.

When Text is not Data - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. Here you can learn about the types of character strings in Python 3.0.

Dictionary Lists to Views - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. The points of incompatiblity vary in importance, but your 2.x coding style is almost guaranteed to be incompatible on some level. Here is a guide to how dictionaries have changed in Python 3.0.

From Lists and Tuples to Iterators - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. The points of incompatiblity vary in importance, but your 2.x coding style is almost guaranteed to be incompatible on some level. Here is a series of helps to ease your transition into the world of Python 3.0.

Print as a Function - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. The points of incompatiblity vary in importance, but your 2.x coding style is almost guaranteed to be incompatible on some level. Here is a series of helps to ease your transition into the world of Python 3.0.

Full Unicode Support - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. The points of incompatiblity vary in importance, but your 2.x coding style is almost guaranteed to be incompatible on some level. Here are the changes in how strings are handled in Python 3.0.

Transitioning from 2.x to 3.0 - About Python
With the release of Python 3.0, the number of projects that are built on a 3.x interpreter and that break compatibility with the 2.x series and before will only increase. The points of incompatiblity vary in importance, but your 2.x coding style is almost guaranteed to be incompatible on some level. Here is a series of helps to ease your transition into the world of Python 3.0.

Python Decorator Precursors: A History of Python's classmethod() - About Python
The built-in Python function classmethod() was a pre-cursor to Python's decorators.

Defining the Decoration - About Python
In order to illustrate Python's decorator feature, we here define a couple decorating functions: decorate and ornament.

Decorating Functions in Python - About Python
Here we show how to decorate Python functions with decorators.

Output of the Decorated Functions - About Python
The key to understanding Python's decorators is in tracking the output of them.

Redirecting Python Calls to Functions and Methods - About Python
Python decorators allow the programmer to redirect a function call in a predictable and manageable fashion.

Python Decorators, Methods, and Functions - About Python
Decorators help the Python program with maintaining and extending Python programs.

Python Decorator Precursors: A History of Python's staticmethod() - About Python
The built-in Python function staticmethod() was a pre-cursor to Python's decorators.

Python's Live Interpreter: Execution as a Shell Game - About Python
Python's live interpreter enables you to write and execute Python programs in real, live time. This has benefits and disadvantages.

Executing Python Program Files: Do It With a Bang (Line) - About Python
Programming live may be fun, but the real perks of Python programming are found in executing program files. Here is how to use a bang line.

Producing Python Documentation the Easy Way - About Python
Python has built-in documentation features. Here is how to write self-documenting functions.

Using Lambda Calculus in Python - About Python
Lambda calculus can be used to design just about any kind of function you might need. Here is how to use it in lieu of pseudo-code to describe your functions quickly.

Execution: The Shell vs The File - About Python
In Python, there are two ways to create a program: the Python shelland the text file. This article offers a brief overview of each anddiscusses their advantages and disadvantages.

Invoking the Python Interpreter: "Hello, Dmitri?" Does Not Work - About Python
Python programming on Mac, Linux, and Unix is fairly straightforward. Executing Python programs on Windows (Win32), takes some care.

Python 2.5's 'with' Statement - About Python
One of the new features that was released with Python 2.5 lastmonth is the 'with' statement. For those of you who are used toPython's try...except statement, you may find this to be thebiggest boon of upgrading.

Executing a Python Program: Shell or File? - About Python
Programming is pointless if you cannot run, or execute, the program you write. Executing a Python program tells the Python interpreter to convert the Python program into something the computer can read and act upon. There are two ways to do this: using a Python shell and calling the Python interpreter with a

XML, Minidom and Parsing the String of Data - About Python
Here we use Python's xml module to parse the XML data of the RSS feed.

Python's urllib2 Module - About Python
Here we use Python's urllib2 module to retrieve the RSS feed.

Accessibility and the NOFRAMES Element - About Python
This step shows how to build accessibility into the Python-based RSS Reader using the NOFRAMES element.

About PHP and Javascript - About Python
PHP and Javascript are two sides of the same coin. The first is server-side. The second is client-side.

Javascript: The submit() Function - About Python
Javascript is a locally-executed language among web-oriented programming languages.

PHP: "PHP: Hypertext Preprocessor" - About Python
PHP is a wonderful glue language for joining the power and flexibility of Python with the ubiquity of the web page.

Passing Form Data With Javascript - About Python
Javascript watches user actions and behavior and initiates actions accordingly. Here we submit a form without the usual 'Submit' button.

Looking at the PHP script: Part 2 - About Python
PHP can function as a CGI stand-in, passing data to and fro the Python program that process it. It is more flexible than CGI and neatly separates form from function.

Concluding Comments - About Python
A combination of PHP and Javascript forms a nice replacement for CGI for processing form data in web application development. If the AJAX guy left you hanging, you can flourish in his absence using this process.

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

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