In Starting Out with PythonTM, Tony Gaddisโ evenly paced, accessible coverage introduces students to the basics of programming and prepares them to transition into more complicated languages. Python, an easy-to-learn and increasingly popular object-oriented language, allows readers to become comfort
Starting Out with Python
โ Scribed by Tony Gaddis
- Year
- 2011
- Tongue
- English
- Leaves
- 632
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Table of Contents
Cover Page
Title Page
Copyright Page
Brief Contents
CONTENTS
Preface
Chapter 1 Introduction to Computers and Programming
1.1 Introduction
1.2 Hardware and Software
1.3 How Computers Store Data
1.4 How a Program Works
1.5 Using Python
Chapter 2 Input, Processing, and Output
2.1 Designing a Program
2.2 Input, Processing, and Output
2.3 Displaying Output with the print Function
2.4 Comments
2.5 Variables
2.6 Reading Input from the Keyboard
2.7 Performing Calculations
2.8 More About Data Output
Chapter 3 Simple Functions
3.1 Introduction to Functions
3.2 Defining and Calling a Function
3.3 Designing a Program to Use Functions
3.4 Local Variables
3.5 Passing Arguments to Functions
3.6 Global Variables and Global Constants
Chapter 4 Decision Structures and Boolean Logic
4.1 The if Statement
4.2 The if-else Statement
4.3 Comparing Strings
4.4 Nested Decision Structures and the if-elif-else Statement
4.5 Logical Operators
4.6 Boolean Variables
Chapter 5 Repetition Structures
5.1 Introduction to Repetition Structures
5.2 The while Loop: a Condition-Controlled Loop
5.3 The for Loop: a Count-Controlled Loop
5.4 Calculating a Running Total
5.5 Sentinels
5.6 Input Validation Loops
5.7 Nested Loops
Chapter 6 Value-Returning Functions and Modules
6.1 Introduction to Value-Returning Functions: Generating Random Numbers
6.2 Writing Your Own Value-Returning Functions
6.3 The math Module
6.4 Storing Functions in Modules
Chapter 7 Files and Exceptions
7.1 Introduction to File Input and Output
7.2 Using Loops to Process Files
7.3 Processing Records
7.4 Exceptions
Chapter 8 Lists and Tuples
8.1 Sequences
8.2 Introduction to Lists
8.3 List Slicing
8.4 Finding Items in Lists with the in Operator
8.5 List Methods and Useful Built-in Functions
8.6 Copying Lists
8.7 Processing Lists
8.8 Two-Dimensional Lists
8.9 Tuples
Chapter 9 More About Strings
9.1 Basic String Operations
9.2 String Slicing
9.3 Testing, Searching, and Manipulating Strings
Chapter 10 Dictionaries and Sets
10.1 Dictionaries
10.2 Sets
10.3 Serializing Objects
Chapter 11 Classes and Object-Oriented Programming
11.1 Procedural and Object-Oriented Programming
11.2 Classes
11.3 Working with Instances
11.4 Techniques for Designing Classes
Chapter 12 Inheritance
12.1 Introduction to Inheritance
12.2 Polymorphism
Chapter 13 Recursion
13.1 Introduction to Recursion
13.2 Problem Solving with Recursion
13.3 Examples of Recursive Algorithms
Chapter 14 GUI Programming
14.1 Graphical User Interfaces
14.2 Using the tkinter Module
14.3 Display Text with Label Widgets
14.4 Organizing Widgets with Frames
14.5 Button Widgets and Info Dialog Boxes
14.6 Getting Input with the Entry Widget
14.7 Using Labels as Output Fields
14.8 Radio Buttons and Check Buttons
APPENDICES
A: Installing Python
B: Introduction to IDLE
C: The ASCII Character Set
D: Answers to Checkpoints
INDEX
Credits
๐ SIMILAR VOLUMES
Tony Gaddis introduces students to the basics of programming and prepares them to transition into more complicated languages. Python, an easy-to-learn and increasingly popular object-oriented language, allows readers to become comfortable with the fundamentals of programming without troublesome sy
<i>For courses in Python programming.</i><b>A clear and student-friendly introduction to the fundamentals of Python</b>In<b><i>Starting Out with Python(R),</i>4th Edition,</b>Tony Gaddis' accessible coverage introduces students to the basics of programming in a high level language. Python, an easy-t