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: 1341
Created: 2019-02-01

Others Python Tutorials

Python Machine Learning Projects

Raspberry Pi Cookbook for Python Programmers

First Semester in Numerical Analysis with Python

Deep Learning with Python

How To Code in Python 3

Others related eBooks about Think Python, Free PDF tutorial

Using .NET Core, Docker, and Kubernetes Succinctly

Download free course Using .NET Core, Docker, and Kubernetes Succinctly, pdf file on 91 pages by Michele Aponte....

Python for Everybody: Exploring Data in Python 3

Python for Everybody is designed to introduce students to programming and software development through the lens of exploring data. You can think of the Python programming language as your tool to solve data problems that are b...

Learning Python language

Complete Python language tutorial, courses, exercises and Python language examples designed for developers who want to learn the basics of this language. PDF document on 1067 pages created by StackOverFlow....

Annotated Algorithms in Python

Download free course Annotated Algorithms in Python, pdf file on 388 pages by by Massimo Di Pierro....

Programming for Computations - Python, 2nd Edition

This book presents computer programming as a key method for solving mathematical problems...., download free Programming for Computations tutorial in PDF (350 pages) created by Svein Linge ....

Learning Symfony 3

Symfony 3 tutoririal to download for free, PDF document on 46 pages created by StackOverFlow which teaches you the basics of this framwork. After reading this tutorial you will know the basics of the Symfony 3 framework...

Programming Computer Vision with Python

If you want a basic understanding of computer vision's underlying theory and algorithms, t..., download free Python tutorial in PDF (272 pages) created by Jan Erik Solem ....

Ruby Kung Fu (RubyFu) Tutorial

Looking for a comprehensive guide to hacking using the Ruby programming language? Look no further than RubyFu, a free 281-page PDF download by RuFu....

Download Perl language tutorial

Download free Perl tutorial course in PDF, training file in 40 chapters and 141 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

JavaScript Allongé

Download free course JavaScript Allongé, pdf file on 511 pages by Reginald Braithwaite....