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

Others Python Tutorials

Python for Everybody

Python re(gex)?

Python Tutorial for Beginners in PDF

Python Data Science Handbook

Processing WSDL in Python

Others related eBooks about Think Python, Free PDF tutorial

Modern C

This book teaches you to take your C programming skills to new heights, whether you're just starting out with C or have more extensive experience. Organized by level, this comprehensive guide lets you jump in where it suits you best while still reaping the maximum benefits....

Algorithms and Data Structures With Applications to Graphics and Geometry

An introductory coverage of algorithms and data structures with application to graphics and geometry. ...

Problem Solving with Algorithms and Data Structures Using Python

THIS TEXTBOOK is about computer science. It is also about Python. However, there is much more. The study of algorithms and data structures is central to understanding what computer science is all about. Learning computer science is not unlike learning any other type of difficult subject matter. Th...

DotNet for professionnals

Download free DotNet tutorial course in PDF, training file in 58 chapters and 192 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

I Love Ruby

Ruby is an easy to learn programming language, it was invented by a guy named Matz in Japa..., download free Ruby tutorial in PDF (314 pages) created by Karthikeyan A K ....

Open Data Structures (in Java)

Download free course Open Data Structures (in Java), pdf file on 334 pages by Pat Morin....

Optimizing software in C++

Download free course Optimizing software in C++, pdf file on 176 pages by Agner Fog....

Effective AWK Programming

Download free course Effective AWK Programming, pdf file on 572 pages by Arnold Robbins....

J2EE tutorial in PDF

Download free J2EE tutorial course in PDF, training file in 6 chapters and 39 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Open Data Structures (in C++)

Download free course Open Data Structures (in C++), pdf file on 336 pages by Pat Morin....