x

Our Privacy Policy has changed. By using this site, you agree to the Privacy Policy.

Practical Programming An Introduction to Computer Science Using Python 3

ISBN-10: 1937785459
ISBN-13: 9781937785451
Edition: 2nd 2013
List price: $38.00 Buy it from $15.73
This item qualifies for FREE shipping

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

30 day, 100% satisfaction guarantee

If an item you ordered from TextbookRush does not meet your expectations due to an error on our part, simply fill out a return request and then return it by mail within 30 days of ordering it for a full refund of item cost.

Learn more about our returns policy

Description: This book is for anyone who wants to understand computer programming. You'll learn to program in a language that' s used in millions of smartphones, tablets, and PCs. You'll code along with the book, writing programs to solve real-world problems as  More...

Used Starting from $18.86
New Starting from $37.09
what's this?
Rush Rewards U
Members Receive:
coins
coins
You have reached 400 XP and carrot coins. That is the daily max!
You could win $10,000

Get an entry for every item you buy, rent, or sell.

Study Briefs

Limited time offer: Get the first one free! (?)

All the information you need in one place! Each Study Brief is a summary of one specific subject; facts, figures, and explanations to help you learn faster.

Add to cart
Study Briefs
History of Western Art Online content $4.95 $1.99
Add to cart
Study Briefs
History of World Philosophies Online content $4.95 $1.99
Add to cart
Study Briefs
American History Volume 1 Online content $4.95 $1.99
Add to cart
Study Briefs
History of Western Music Online content $4.95 $1.99

Customers also bought

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Book details

List price: $38.00
Edition: 2nd
Copyright year: 2013
Publisher: Pragmatic Programmers, LLC, The
Publication date: 10/4/2013
Binding: Paperback
Pages: 350
Size: 7.50" wide x 9.00" long x 1.00" tall
Weight: 1.760
Language: English

This book is for anyone who wants to understand computer programming. You'll learn to program in a language that' s used in millions of smartphones, tablets, and PCs. You'll code along with the book, writing programs to solve real-world problems as you learn the fundamentals of programming using Python 3. You'll learn about design, algorithms, testing, and debugging, and come away with all the tools you need to produce quality code. In this second edition, we've updated almost all the material, incorporating the lessons we've learned over the past five years of teaching Python to people new to programming.You don't need any programming experience to get started. First, you'll get a detailed introduction to Python and to programming. You'll find out exactly what happens when your programs are executed. Through real-world examples, you'll learn how to work with numbers, text, big data sets, and files. Then you'll see how to create and use your own data types.The incremental examples show you the steps and missteps that happen while developing programs, so you know what to expect when you tackle a problem on your own. Inspired by "How to Design Programs" (HtDP), you'll learn a six-step recipe for designing functions, which helps you as you start to learn the concepts--and becomes an integral part of writing programs by the end.As you learn to use the fundamental programming tools in the first half of the book, you'll see how to document and organize your code so that you and other programmers can more easily read and understand it. Beyond the basics, you'll learn how to ensure that your programs are reliable, and how to work with databases, download data from the web automatically, and build user interfaces. Most importantly, you'll learn how to think like a professional programmer.You'll need to download Python 3, available from "python.org":https://python.org.With that download comes IDLE, the editor we use for writing andrunning Python programs. (If you use Linux, you may need to installPython 3 and IDLE separately.)

Paul Gries, is a senior lecturer in Computer Science at the University of Toronto. He has won numerous teaching awards and authored other introductory computer science texts.

Jennifer Campbell is a senior lecturer in Computer Science at theUniversity of Toronto who created the course this book is based on.

Jason Montojo, is a former student of Jennifer Campbell and Paul Gries, who has since worked on the Eclipse programming platform at IBM; he is also a professional photographer and digital artist, and created all of the diagrams for this book.

Acknowledgments
Preface
What's Programming?
Programs and Programming
What's a Programming Language?
What's a Bug?
The Difference Between Brackets, Braces, and Parentheses
Installing Python
Hello, Python
How Does a Computer Run a Python Program?
Expressions and Values: Arithmetic in Python
What Is a Type?
Variables and Computer Memory: Remembering Values
How Python Tells You Something Went Wrong
A Single Statement That Spans Multiple Lines
Describing Code
Making Code Readable
The Object of This Chapter
Exercises
Designing and Using Functions
Functions That Python Provides
Memory Addresses: How Python Keeps Track of Values
Defining Our Own Functions
Using Local Variables for Temporary Storage
Tracing Function Calls in the Memory Model
Designing New Functions: A Recipe
Writing and Running a Program
Omitting a Return Statement: None
Dealing with Situations That Your Code Doesn't Handle
What Did You Call That?
Exercises
Working with Text
Creating Strings of Characters
Using Special Characters in Strings
Creating a Multiline String
Printing Information
Getting Information from the Keyboard
Quotes About Strings in This Text
Exercises
Making Choices
A Boolean Type
Choosing Which Statements to Execute
Nested If Statements
Remembering the Results of a Boolean Expression Evaluation
You Learned About Booleans: True or False?
Exercises
A Modular Approach to Program Organization
Importing Modules
Defining Your Own Modules
Testing Your Code Semiautomatically
Tips for Grouping Your Functions
Organizing Our Thoughts
Exercises
Using Methods
Modules, Classes, and Methods
Calling Methods the Object-Oriented Way
Exploring String Methods
What Are Those Underscores?
A Methodical Review
Exercises
Storing Collections of Data Using Lists
Storing and Accessing Data in Lists
Modifying Lists
Operations on Lists
Slicing Lists
Aliasing: What's in a Name?
List Methods
Working with a List of Lists
A Summary List
Exercises
Repeating Code Using Loops
Processing Items in a List
Processing Characters in Strings
Looping Over a Range of Numbers
Processing Lists Using Indices
Nesting Loops in Loops
Looping Until a Condition Is Reached
Repetition Based on User Input
Controlling Loops Using Break and Continue
Repeating What You've Learned
Exercises
Reading and Writing Files
What Kinds of Files Are There?
Opening a File
Techniques for Reading Files
Files over the Internet
Writing Files
Writing Algorithms That Use the File-Reading Techniques
Multiline Records
Looking Ahead
Notes to File Away
Exercises
Storing Data Using Other Collection Types
Storing Data Using Sets
Storing Data Using Tuples
Storing Data Using Dictionaries
Inverting a Dictionary
Using the In Operator on Tuples, Sets, and Dictionaries
Comparing Collections
A Collection of New Information
Exercises
Designing Algorithms
Searching for the Smallest Values
Timing the Functions
At a Minimum, You Saw This
Exercises
Searching and Sorting
Searching a List
Binary Search
Sorting
More Efficient Sorting Algorithms
Mergesort: A Faster Sorting Algorithm
Sorting Out What You Learned
Exercises
Object-Oriented Programming
Understanding a Problem Domain
Function "Isinstance," Class Object, and Class Book
Writing a Method in Class Book
Plugging into Python Syntax: More Special Methods
A Little Bit of OO Theory
A Case Study: Molecules, Atoms, and PDB Files
Classifying What You've Learned
Exercises
Testing and Debugging
Why Do You Need to Test?
Case Study: Testing above_freezing
Case Study: Testing running_sum
Choosing Test Cases
Hunting Bugs
Bugs We've Put in Your Ear
Exercises
Creating Graphical User Interfaces
Using Module Tkinter
Building a Basic GUI
Models, Views, and Controllers, Oh My!
Customizing the Visual Style
Introducing a Few More Widgets
Object-Oriented GUIs
Keeping the Concepts from Being a GUI Mess
Exercises
Databases
Overview
Creating and Populating
Retrieving Data
Updating and Deleting
Using NULL for Missing Data
Using Joins to Combine Tables
Keys and Constraints
Advanced Features
Some Data Based On What You Learned
Exercises
Bibliography
Index

×
Free shipping on orders over $35*

*A minimum purchase of $35 is required. Shipping is provided via FedEx SmartPost® and FedEx Express Saver®. Average delivery time is 1 – 5 business days, but is not guaranteed in that timeframe. Also allow 1 - 2 days for processing. Free shipping is eligible only in the continental United States and excludes Hawaii, Alaska and Puerto Rico. FedEx service marks used by permission."Marketplace" orders are not eligible for free or discounted shipping.

Learn more about the TextbookRush Marketplace.

×