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: 1352
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

Think Python, 2nd Edition

Python For Loop free PDF

Exploring Data with Python

From Python to NumPy

How To Code in Python 3

Others related eBooks about Think Python, Free PDF tutorial

Learning .NET EPPlus

Download free course Learning .NET EPPlus, pdf file on 39 pages by Stack Overflow Community....

JavaScript Bible

Download free course JavaScript Bible, pdf file on 2327 pages by Danny Goodman....

Python Notes for Professionals

Download free course Python Notes for Professionals, pdf file on 855 pages by Stack Overflow Community....

Getting started with Fortran language

Download free Fortran tutorial course in PDF, training file in 14 chapters and 83 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Tools and Algorithms for the Construction and Analysis of Systems

Download free course Tools and Algorithms for the Construction and Analysis of Systems, pdf file on 426 pages by Tomáš Vojnar, Lijun Zhang....

Solving PDEs in Python: The FEniCS Tutorial I

This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonl...

Learning Regular Expressions

A regular expression (regex or regexp) is a sequence of characters that define a search pa..., download free Regular Expressions tutorial in PDF (94 pages) created by ....

Annotated Algorithms in Python: with Applications in Physics, Biology, and Finance

This book is assembled from lectures given by the author over a period of 10 years at the School of Computing of DePaul University. The lectures cover multiple classes, including Analysis and Design of Algorithms, Scientific Computing, Monte Carlo Simulations, and Parallel Algorithms. These lectur...

Flutter in Action

With Flutter, you can build mobile applications using a single, feature-rich SDK that includes everything from a rendering engine to a testing environment. Flutter compiles programs written in Google’s intuitive Dart language to platform-specific code so your iOS and Android games, utilities, and ...

Download Ada Programming Tutorial

Download Ada PDF Tutorial for free, it consisting of 42 chapters and 410 pages covering all the most important Ada concepts. This tutorial is intended for beginner programmers, and we recommend you to go through all the chapters, to get the most out of it as possible....