1. Home
  2. Computing & Technology
  3. Python

Shell

From , former About.com Guide

Definition: When speaking of Python programming, there are two shells that are commonly referenced. The first is the shell in which the command is executed. This is sometimes called the terminal or prompt. On Windows machines, it is sometimes called a DOS prompt. On Linux, it is called a BASH prompt, and, on other forms of Unix, it is called variously Korn Shell, C Shell, and other names. Within Python, however, another shell exists. The Python interpreter has an interactive mode. This is accessed by simply typing 'python' in the terminal shell. The Python interpreter will then launch and will await your programming. This can be a great sandbox for trying out new ideas with immediate feedback, but be careful. In the interactive shell, iterative loops execute immediately upon being closed!
Explore Python
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Python
  4. Programming Glossary
  5. Shell

©2009 About.com, a part of The New York Times Company.

All rights reserved.