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

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python

Full Speed Python

O'Reilly® Think Python, 2nd Edition, - How to Think Like a Computer Scientist

Biopython: Tutorial and Cookbook

Think Python - How to Think Like a Computer Scientist

Others related eBooks about Think Python, Free PDF tutorial

Fortran 90/95 Programming Manual

Download Fortran 90/95 Programming Manual, free training course under 67 pages by Tanja van Mourik....

HTML, CSS, Bootstrap, Javascript and jQuery in PDF

Free tutorial to download about HTML, CSS, Bootstrap, Javascript and jQuery, pdf document course in 72 pages created by Meher Krishna Patel....

C++ Notes for Professionals

Download free course C++ Notes for Professionals, pdf file on 707 pages by Stack Overflow Community....

Processing WSDL in Python

With this tutorial you will learn how to process WSDL in Python language (web services and Python) , free PDF cocument under 11 pages by Mike Olson and Uche Ogbuji ....

Java with BlueJ

This book introduces the Java programming language. The text assumes the student will be using the BlueJ development environment and provides some introductory BlueJ material. Our experience has been that BlueJ is easy to learn and provides a good programming environment for the beginner programme...

Python for You and Me

Download free course Python for You and Me, pdf file on 173 pages by Kushal Das....

Data Parallel C++

Download free course Data Parallel C++, pdf file on 565 pages by James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian....

PhoneGap and Cordova course

This PDF training tutorial will helps you to get the skills necessary to the development of sites and mobile applications using Cordova technology....

Restful Web Services

You've built web sites that can be used by humans. But can you also build web sites that are usable by machines? That's where the future lies, and that's what RESTful Web Services shows you how to do. The World Wide Web is the most popular distributed application in history, and Web services and mas...

Getting started with Sharepoint

Download free Sharepoint tutorial course in PDF, training file in 10 chapters and 75 pages. Free unaffiliated ebook created from Stack OverFlow contributor....