Starting Out with Python Programming 2nd Edition free ebook

 

Starting Out with Python Programming 2nd Edition free ebook

Starting Out with Python Programming 2nd Edition free ebook

Starting Out with Python Programming 2nd Edition free ebook

Overview:

The Python interpreter can run Python programs that are saved in files, or interactively execute Python statements that are typed at the keyboard. Python comes with a program named IDLE that simplifies the process of
writing, executing, and testing programs.

In this book(Starting Out with Python Programming 2nd Edition free ebook), we will use a high-level programming language called Python, which was developed in the early 1990s by Guido van Rossum. Van Rossum needed to carry out repetitive tasks for administering computer systems. He was dissatisfied with other available languages that were optimized for writing large and fast programs. He needed to write smaller programs that didn’t have to run at optimum speed.

Installing Python:

Before you can try any of the programs shown in this book, or write any programs of your
own, you need to make sure that Python is installed on your computer and properly configured.
If you are working in a computer lab, this has probably been done already. If you
are using your own computer, you can follow the instructions in Appendix A to install
Python from the accompanying CD.

The Python Interpreter:

You learned earlier that Python is an interpreted language. When you install the Python language on your computer, one of the items that is installed is the Python interpreter. The Python interpreter is a program that can read Python programming statements and execute them. (Sometimes we will refer to the Python interpreter simply as the interpreter.) You can use the interpreter in two modes: interactive mode and script mode. In interactive mode, the interpreter waits for you to type Python statements on the keyboard. Once you type a statement, the interpreter executes it and then waits for you to type another statement. In script mode, the interpreter reads the contents of a file that contains Python statements. Such a file is known as a Python program or a Python script. The interpreter executes each statement in the Python program as it reads it.

This ebook(Starting Out with Python Programming 2nd Edition free ebook) contains these contents:

Contents:

Chapter 1 Introduction to Computers and Programming 1
1.1 Introduction 1
Chapter 2 Input, Processing, and Output 31
Chapter 3 Simple Functions 81
Chapter 4 Decision Structures and Boolean Logic 117

Chapter 5 Repetition Structures 157

Chapter 6 Value-Returning Functions and Modules 203

Chapter 7 Files and Exceptions 239
Chapter 8 Lists and Tuples 295
Chapter 9 More About Strings 341
Chapter 10 Dictionaries and Sets 371
Chapter 11 Classes and Object-Oriented Programming 421
Chapter 12 Inheritance 483
Chapter 13 Recursion 509
Chapter 14 GUI Programming 529

Starting Out with Python Programming 2nd Edition free ebook

Crash Course Metabolism and Nutrition ebook free download pdf

Starting Out with Python Programming 2nd Edition free ebook

Leave a Reply

Your email address will not be published. Required fields are marked *

*