Python
Bite-sized Python lessons from foundations to advanced topics.
1,289 lessons·First 10 free
- 1What is Python?Free
- 2Why learn PythonFree
- 3Python 2 vs Python 3Free
- 4Installing PythonFree
- 5Verifying the installFree
- 6Python on macOS, Windows, LinuxFree
- 7Choosing an editorFree
- 8Installing VS Code for PythonFree
- 9Your first programFree
- 10The Python REPLFree
- 11Running a .py scriptPro
- 12Exiting the REPLPro
- 13Statements and expressionsPro
- 14Indentation as syntaxPro
- 15Tabs vs spacesPro
- 16Line continuationPro
- 17Multiple statements on a linePro
- 18Single-line commentsPro
- 19Multi-line commentaryPro
- 20Docstring previewPro
- 21Case sensitivityPro
- 22Reading error tracebacksPro
- 23SyntaxError vs runtime errorPro
- 24The Zen of PythonPro
- 25Intro to PEP 8Pro
- 26What is a variablePro
- 27Assignment with `=`Pro
- 28Reassigning variablesPro
- 29Names point to objectsPro
- 30Multiple assignmentPro
- 31Chained assignmentPro
- 32Swapping variablesPro
- 33Naming rulesPro
- 34Valid vs invalid identifiersPro
- 35Reserved keywordsPro
- 36Listing keywordsPro
- 37Built-in name shadowingPro
- 38PEP 8 naming conventionsPro
- 39Constants by conventionPro
- 40Underscore as throwawayPro
- 41Leading underscore conventionPro
- 42Deleting a name with `del`Pro