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 | |
| Downloads | 1376 |
| Created | 2019-02-01 |
Others Python tutorials
Others related eBooks about Think Python, Free PDF tutorial
-
Category Theory for Programmers
Download free ebook intituled Category Theory for Programmers created by Bartosz Milewski . ...
-
Language D tutorial in PDF
Download free Language D tutorial course in PDF, training file in 17 chapters and 44 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
-
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....
-
Learning ABAP PDF course
Download free ABAP tutorial course in PDF, training file in 16 chapters and 42 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
-
Create native apps with Flutter
Learn how to build beautiful native apps in record time with flutter, free pdf tutorial to download for beginners. Document tutorial by Eduardo Telaya....
-
Android Concepts and Programming
Download Android tutorial in PDF ,free training course document under 40 pages By Kartik Sankaran....
-
Become an Xcoder: Start Programming the Mac Using Objective-C
...
-
Android Application Development for the Intel Platform
The number of Android devices running on Intel processors has increased since Intel and Google announced, in late 2011, that they would be working together to optimize future versions of Android for Intel Atom processors. Today, Intel processors can be found in Android smartphones and tablets made b...
-
Artificial Neural Networks - Models and Applications
The idea of simulating the brain was the goal of many pioneering works in Artificial Intelligence. The brain has been seen as a neural network, or a set of nodes, or neurons, connected by communication lines. Currently, there has been increasing interest in the use of neural network models. ...
-
Problem Solving with Algorithms and Data Structures
Download free course Problem Solving with Algorithms and Data Structures, pdf file on 240 pages by Brad Miller, David Ranum....