Introduction to Python
Python is a high level, dynamically typed, interpreted language whose whole design goal is that a program should be as easy to read as it was to write...
What Python is, how it runs your code, installing it, the REPL, indentation, statements, comments, keywords, identifiers, PEP 8 and variables.
5 notes
Python is a high level, dynamically typed, interpreted language whose whole design goal is that a program should be as easy to read as it was to write...
Install Python, check the version, meet the REPL, write a script and understand the difference between interactive mode and script mode.
Source code is compiled to bytecode and the Python Virtual Machine executes it. Knowing that explains __pycache__, import speed and most confusing err...
Indentation defines blocks, statements end at the line break, and a short set of rules about comments, keywords and identifiers covers everything else...
A Python variable is a name bound to an object, not a box holding a value. That one distinction explains multiple assignment, swapping, dynamic typing...