“And Now for Something Completely Different”

This book is about using Python, an easy-to-use, flexible, object-oriented, mature, popular, and open source[*] programming language designed to optimize development speed. Although it is completely general purpose, Python is often called a scripting language, partly because of its sheer ease of use and partly because it is commonly used to orchestrate or “glue” other software components in an application. Python is also commonly known as a high-level language, because it automates most low-level tasks that programmers must handle manually in traditional languages such as C.

If you are new to Python, chances are you’ve heard about the language somewhere but are not quite sure what it is about. To help you get started, this chapter provides a general introduction to Python’s features and roles. Most of it will make more sense once you have seen real Python programs, but let’s first take a quick pass over the forest before wandering among the trees. In this chapter, we’ll explore Python’s philosophy, its history, and some of its most prominent benefits and uses, before digging into the details.



[*] Open source systems are sometimes called freeware, in that their source code is freely distributed and community controlled. Don’t let that concept fool you, though; with roughly 1 million users in that community today, Python is very well supported. For more information on open source, see http://opensource.org.

Get Programming Python, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.