Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

Learn Python the right way

How to think like a computer scientist

by Peter Wentworth, Jeffrey Elkner, Allen B. Downey, Chris Meyers

Learn Python the right way

Subscribe to new books via dBooks.org telegram channel

Join
DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

Python is a fun and extremely easy-to-use programming language that has steadily gained in popularity over the last few years. Developed over ten years ago by Guido van Rossum, Python's simple syntax and overall feel is largely derived from ABC, a teaching language that was developed in the 1980's.

However, Python was also created to solve real problems and it borrows a wide variety of features from programming languages such as C++, Java, Modula-3, and Scheme. Because of this, one of Python's most remarkable features is its broad appeal to professional software developers, scientists, researchers, artists, and educators.

Despite Python's appeal to many different communities, you may still wonder why Python? or why teach programming with Python? Answering these questions is no simple task - especially when popular opinion is on the side of more masochistic alternatives such as C++ and Java. However, I think the most direct answer is that programming in Python is simply a lot of fun and more productive.

This open book is licensed under a GNU Free Documentation License (GNU FDL). You can download Learn Python the right way ebook for free in PDF format (5.0 MB).

Table of Contents

Chapter 1
The way of the program
Chapter 2
Variables, expressions and statements
Chapter 3
Hello, little turtles!
Chapter 4
Functions
Chapter 5
Conditionals
Chapter 6
Fruitful functions
Chapter 7
Iteration
Chapter 8
Strings
Chapter 9
Tuples
Chapter 10
Event handling
Chapter 11
Lists
Chapter 12
Modules
Chapter 13
Files
Chapter 14
List Algorithms
Chapter 15
Classes and Objects - the Basics
Chapter 16
Classes and Objects - Digging a little deeper
Chapter 17
PyGame
Chapter 18
Recursion
Chapter 19
Exceptions
Chapter 20
Dictionaries
Chapter 21
A Case Study: Indexing your files
Chapter 22
Even more OOP
Chapter 23
Collections of objects
Chapter 24
Inheritance
Chapter 25
Linked lists
Chapter 26
Stacks
Chapter 27
Queues
Chapter 28
Trees

Book Details

Title
Learn Python the right way
Subject
Computer Science
Publisher
Ritza
Published
2021
Pages
457
Edition
1
Language
English
PDF Size
5.0 MB
License
GNU FDL

Book Hashtags

Related Books

PHP: The Right Way
There's a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time. T...
We Are All Here to Stay
In 2007, 144 UN member states voted to adopt a Declaration on the Rights of Indigenous Peoples. Australia, Canada, New Zealand and the US were the only members to vote against it. Each eventually changed its position. This book explains why and examines what the Declaration could mean for sovereignty, citizenship and democracy in liberal societies ...
Protecting the Rights of People with Autism in the Fields of Education and Employment
Fundamental rights for all people with disabilities, education and employment are key for the inclusion of people with autism. They play as facilitators for the social inclusion of persons with autism and as multipliers for their enjoyment of other fundamental rights. After outlining the international and European dimensions of the legal protection...
Contribute to Opensource
Have you ever wondered how the open source world exists thanks to the contribution of thousands of people all over the world? Is there a way to learn the skills to contribute at maximum, or to improve it? Open Source is a trending topic every year in the IT world but nobody talks about how to be part of it, instead only to be a consumer. Join...
The Power of Our Words
Do you know that an empowering word can spark ideas, open doors, change attitudes, and create solutions? Words can do all these things and much more. They have the potency to redefine personalities, lives, and entire communities. Just think of some of the things words are used for every day: - To communicate a message - To express a feeling -...
The CSS Handbook
CSS, a shorthand for Cascading Style Sheets, is one of the main building blocks of the Web. Its history goes back to the 90's and along with HTML it has changed a lot since its humble beginnings. This handbook is aimed at a vast audience. - First, the beginner. I explain CSS from zero in a succinct but comprehensive way, so you can use thi...