You are here:About>Computing & Technology>Python
About.comPython
Newsletters & RSSEmail to a friendSubmit to Digg

Executing a Python Program: Shell or File?

From Al Lukaszewski,
Your Guide to Python.
FREE Newsletter. Sign Up Now!

Programming: Pointless Without Execution

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.

Other tutorials in this series: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

  1. Programming: Pointless Without Execution
  2. Python's Live Interpreter: Execution as a Shell Game
  3. Executing Python Program Files: Do It With a Bang (Line)
  4. Invoking the Python Interpreter: "Hello, Dmitri?" Does Not Work

Previous | Next >>

 All Topics | Email Article | | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.