Getting Started With Python
These tutorials take you from beginning to program to being productive with Python in the shortest time possible.
Sign Up for Our Free Newsletters
Thanks, You're in!
Python Categories
17 Articles in: Getting Started With Python
Python's Live Interpreter: Execution as a Shell Game
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 "bang" line. The how-to's of both are addressed here.Print as a Function
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.Importing Modules and Assigning Values
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 "Beginning Python" instead.
View More

