Think Python, Free PDF tutorial

Python is a programming language invented by Guido van Rossum. The first version of python was released in 1991.

Python is an interpreted programming language, that is, it does not need to be compiled before executing it. If you have already touched a little programming, you will see that this language has a certain poetry. Programmers often have fun finding the most beautiful / effective way to write a sequence of instructions. Few criticize Python logic - unlike javascript for example .

The goal of this book is to teach you to think like a computer scientist. This way of thinking combines some of the best features of mathematics, engineering, and natural science. Like mathematicians, computer scientists use formal languages to denote ideas (specifically computations). Like engineers, they design things, assembling components into systems and evaluating tradeoffs among alternatives.

Table of contents

  • The Python programming language
  • The first program
  • Exercises
  • Variables, expressions and statements
  • Variable names and keywords
  • Statements
  • Operators and operands
  • Exercises
  • Functions
  • Function calls
  • Type conversion functions
  • Math functions
  • Adding new functions
  • Stack diagrams
  • Fruitful functions and void functions
  • Simple repetition
  • Exercises
  • Encapsulation
  • Generalization
  • Interface design
  • Boolean expressions
  • Logical operators
  • Conditional execution
  • Alternative execution
  • Recursion
  • Stack diagrams for recursive functions
  • Infinite recursion
  • Boolean functions
  • More recursion
  • List methods
  • Map, filter and reduce
  • Deleting elements
  • Lists and strings
  • Objects and values
  • Aliasing
  • List arguments
  • Debugging
  • Glossary
  • Exercises
  • Dictionaries
  • Dictionary as a set of counters
  • Looping and dictionaries
  • Reverse lookup
  • Dictionaries and lists
  • Memos
  • Global variables
  • Long integers
  • Exercises
  • Tuples
  • Tuples are immutable
  • Tuple assignment
  • Tuples as return values
  • Variable-length argument tuples
  • Lists and tuples
  • Random numbers
  • Word histogram
  • Most common words
  • Optional parameters
  • Dictionary subtraction
  • Random words
  • Pipes
  • Writing modules
  • Time
  • Pure functions
  • Modifiers
  • Inheritance
  • Card objects
  • Class attributes
  • Comparing cards
  • Decks
  • Canvas widgets
  • Coordinate sequences
Size : 1067.59 Kb
File type : pdf
Downloads: 1353
Created: 2019-02-01

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Python Tutorials

Fundamentals of Python Programming

A Practical Introduction to Python Programming

Python for Everybody: Exploring Data in Python 3

Classic Computer Science Problems in Python

Think Python, 2nd Edition

Others related eBooks about Think Python, Free PDF tutorial

Think Java, 2nd Edition

Think Java is a hands-on introduction to computer science and programming used by many uni..., download free Java tutorial in PDF (326 pages) created by ....

Tutorial: Creating a Database Application using Delphi

Tutorial: Creating a Database This tutorial guides you through the creation of an InterBase database application with which you can view and update a sample employee database. You will use the Delphi IDE to create the database application. ...

Essential Java

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Java programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

The Little Go Book

The Little Go Book is a free introduction to Google's Go programming language. It's aimed ..., download free Go tutorial in PDF (84 pages) created by ....

The Common Java Cookbook

Download free course The Common Java Cookbook, pdf file on 333 pages by Tim O'Brien....

Introduction to Csharp

Download free tutorial in PDF of C# (Csharp) , it's a training document under 65 pages for students who want to learn about the basics of CSharp programming language....

Mastering iOS Game Development

iOS is an operating system for Apple manufactured phones and tablets. Mobile gaming is one..., download free Game Development tutorial in PDF (228 pages) created by Miguel DeQuadros ....

ADA course in PDF

Welcome to the Ada Programming tutorial in PDF, training document under 200 pages intended to beginners....

Java for Small Teams

This book is an attempt to capture what good Java code looks like and the practices that help produce it. This document is intended for consumption by anyone involved with writing server side Java code. From developers writing Java for the first time through to seasoned technical leads serving multi...

Hibernate Annotations

This pdf tutorial present a reference guide for Hibernate , a training document course on 49 pages for beginners....