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 |
Downloads: | 1353 |
Created: | 2019-02-01 |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about Think Python, Free PDF tutorial
Download free course Full Speed Python, pdf file on 39 pages by João Ventura.
For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all - IPython, NumPy,
This book goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and eff
This book introduces the field of deep learning using the Python language and the powerful Keras library. Written by Keras creator and Google AI researcher François Chollet, this book builds your understanding through intuitive explanations and practical examples. You'll explore challenging concept
This book offers an initial introduction to programming for scientific and computational applications using the Python programming language. The presentation style is compact and example-based, making it suitable for students and researchers with little or no prior experience in programming.