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

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

Others Python Tutorials

Biopython: Tutorial and Cookbook

A Byte of Python

First Semester in Numerical Analysis with Python

Think Python: An Introduction to Software Design

IPython Interactive Computing and Visualization Cookbook

Others related eBooks about Think Python, Free PDF tutorial

Pro TBB: C++ Parallel Programming with Threading Building Blocks

This book is a modern guide for all C++ programmers to learn Threading Building Blocks (TBB). Written by TBB and parallel programming experts, this book reflects their collective decades of experience in developing and teaching parallel programming with TBB, offering their insights in an approacha...

DevOps for Digital Leaders

Learn to design, implement, measure, and improve DevOps programs that are tailored to your..., download free DevOps tutorial in PDF (173 pages) created by Kieran Taylor ....

Fundamentals of Python Programming

This book does not attempt to cover all the facets of the Python programming language. Exp..., download free Python tutorial in PDF (669 pages) created by ....

3D Game Development with LWJGL 3

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

Programming for Computations - Python

Download free course Programming for Computations - Python, pdf file on 350 pages by Svein Linge, Hans Petter Langtangen....

Tutorial JSF in PDF

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

The Official Raspberry Pi Handbook 2021

Download free course The Official Raspberry Pi Handbook 2021, pdf file on 204 pages by David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Simon Monk, Mark Vanstone....

Tutorial Maya in PDF

Download free Maya tutorial course in PDF, training file in 7 chapters and 23 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Ruby Hacking Guide

The Ruby Hacking Guide is a book that explains how the ruby interpreter (the official C implementation of the Ruby language) works internally. To fully understand it, you need a good knowledge of C and Ruby. This book is going to investigate ruby as a whole....

Automated Machine Learning

Download free course Automated Machine Learning, pdf file on 223 pages by by Frank Hutter, Lars Kotthoff, Joaquin Vanschoren....