Python Chapter 1
Python Chapter 1
INTRODUCTION
1.1 PYTHON
A scripting or script language is a programming language that supports scripts, programs written
for a special run-time environment that automate the execution of tasks that could alternatively
be executed one-by-one by a human operator. Scripting languages are often interpreted (rather
than compiled). Primitives are usually the elementary tasks or API calls, and the language allows
them to be combined into more complex programs. Environments that can be automated through
scripting include software applications, web pages within a web browser, the shells of operating
systems (OS), embedded systems, as well as numerous games. A scripting language can be
viewed as a domain-specific language for a particular environment; in the case of scripting an
application, this is also known as an extension language. Scripting languages are also sometimes
referred to as very high-level programming languages, as they operate at a high level of
abstraction, or as control languages
1.4 HISTORY
Python was conceived in the late 1980s, and its implementation was started in December 1989
by Guido van Rossum at CWI in the Netherlands as a successor to the ABC language (itself
inspired by SETL) capable of exception handling and interfacing with the Amoeba operating
system. Van Rossum is Python's principal author, and his continuing central role in deciding the
direction of Python is reflected in the title given to him by the Python community, benevolent
dictator for life (BDFL).
“Python is an experiment in how much freedom programmers need. Too much freedom and
nobody can read another's code; too little and expressiveness is endangered.” - Guido van
Rossum Behind The Scene of Python About the origin of Python, Van Rossum wrote in 1996:
Over six years ago, in December 1989, I was looking for a "hobby" programming project that
would keep me occupied during the week around Christmas. My office ... would be closed, but I
had a home Computer, and not much else on my hands. I decided to write an interpreter for the
new scripting language I had been thinking about lately: a descendant of ABC that would appeal
to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent
mood (and a big fan of Monty Python's Flying Circus).