Getting Started With Python
These tutorials take you from beginning to program to being productive with Python in the shortest time possible.
What is Python?
This series of pages discusses what Python is, why one would want to use it, and how it differs from other programming languages.
This series of pages discusses what Python is, why one would want to use it, and how it differs from other programming languages.
Transitioning from 2.x to 3.0
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.
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 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.
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.
How a Computer "Reads" a Program
Are you new to the world of computing? If so, this tutorial is for you. It is not about Python specifically. Instead, it addresses the basic parts of any programming language and how the computer "sees" them. Understanding how the computer "reads" what you write will help you to write better code and to find problems faster.
Are you new to the world of computing? If so, this tutorial is for you. It is not about Python specifically. Instead, it addresses the basic parts of any programming language and how the computer "sees" them. Understanding how the computer "reads" what you write will help you to write better code and to find problems faster.
Execution: The Shell vs The File
In Python, there are two ways to create a program: the Python shell and the text file. This article offers a brief overview of each and discusses their advantages and disadvantages.
In Python, there are two ways to create a program: the Python shell and the text file. This article offers a brief overview of each and discusses their advantages and disadvantages.
The Zen of Python
While Python is incredibly intuitive, many people do not comprehend the basics of Python development. For them, I include here the "Zen of Python."
While Python is incredibly intuitive, many people do not comprehend the basics of Python development. For them, I include here the "Zen of Python."
Python Encodings
Python's encoding functions offer a means of encoding ASCII in Unicode and vice versa. Any program that might be used on the internet someday will need to work with multiple character sets. Here is how.
Python's encoding functions offer a means of encoding ASCII in Unicode and vice versa. Any program that might be used on the internet someday will need to work with multiple character sets. Here is how.
Programming Glossary
This is a glossary of the more technical terms used on About.com's Python site.
This is a glossary of the more technical terms used on About.com's Python site.
"Hello, World!": A Quick Tour of Python
In this tutorial, we take a simple program and build upon it to illustrate the various elements of the Python language. You would never write a program like this in real life, 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 "Beginning Python" instead.
In this tutorial, we take a simple program and build upon it to illustrate the various elements of the Python language. You would never write a program like this in real life, 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 "Beginning Python" instead.
Python 2.5's 'with' Statement
One of the new features that was released with Python 2.5 last month is the 'with' statement. For those of you who are used to Python's try...except statement, you may find this to be the biggest boon of upgrading.
One of the new features that was released with Python 2.5 last month is the 'with' statement. For those of you who are used to Python's try...except statement, you may find this to be the biggest boon of upgrading.
Python Decorators, Methods, and Functions
Decorators help the Python program with maintaining and extending Python programs.
Decorators help the Python program with maintaining and extending Python programs.
Producing Python Documentation With Docstrings
Python has built-in documentation features that are easy to use. Here is how to write self-documenting functions.
Python has built-in documentation features that are easy to use. Here is how to write self-documenting functions.
Using Lambda Calculus in 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.
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.
