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

Others Python Tutorials

Classic Computer Science Problems in Python

Non-Programmer's Tutorial for Python 3

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

Think DSP: Digital Signal Processing in Python

Making Games with Python & Pygame

Others related eBooks about Think Python, Free PDF tutorial

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...

RESTful Web Services Quick Guide

RESTful Service quick guide ,this PDF tutorial provides some recommendations for Creating best Web Services project. Free training document course material on 30 pages by Todd Fredrich....

Ruby Regexp

Download free course Ruby Regexp, pdf file on 72 pages by Sundeep Agarwal....

Using the Web to Build the IoT

The Internet of Things offers us an internet that is becoming more than just a mass of mul..., download free IoT tutorial in PDF (176 pages) created by ....

C# : Practical Guide for Programmers

Download a free Csharp tutorial in PDF by Michel de Champlain .A complet training document under 262 pages for intermediate level-users....

Learning C++

Download free course Learning C++, pdf file on 897 pages by Stack Overflow Community....

3D Game Development with LWJGL 3

This book introduces the main concepts required to write a 3D game using the LWJGL 3 library....

Beginner's Android Development

Beginner's Android Development Tutorial in PDF,free training course document under 26 pages to learn the basics of Mobile development....

ADA course in PDF

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

Microsoft Platform and Tools for Mobile App Development

Understanding and creating a mobile app development strategy is an important process for t..., download free Microsoft Platform and Tools for Mobile App Development tutorial in PDF (150 pages) created by Simon Calvert ....