Перейти к содержимому

Introduction to Python - Lecture 1

Jonas Lindemann

0:00 / 0:00

Introduction to Python - Lecture 1

48 просмотров · 2 нед. назад
Jonas Lindemann
988 подписчиков
48 просмотров · 2 нед. назад
Introduction to Python - Lecture 1 Timestamps: 00:00 - Introduction & Course Overview 00:27 - Python History, Major Versions & Installation (conda-forge) 02:55 - The Zen of Python & Code Structure by Indentation 03:56 - Script vs. Compiled Languages & Script Headers (Shebang / UTF-8) 06:08 - Built-in Functions & Function Calls (`print`, `abs`, `divmod`) 09:34 - Variables, Memory References & Dynamic Typing 12:03 - Variable Naming Rules & Conventions 13:10 - How Variable References Work in Memory (`id()`) 18:50 - Numeric Data Types, Operators & Expressions 20:41 - Boolean Data Type (`True`, `False`) 21:10 - Lists: Creation, Indexing, Slicing & Mutability 26:46 - List Length (`len`) & Common Methods (`append`, `insert`, `remove`, `pop`) 29:51 - Clearing Lists vs. Reassigning References (`clear()`) 31:27 - Nested Lists, 2D Structures & Shallow vs. Deep Copying 35:04 - Tuples: Immutable Sequences & Memory Efficiency 37:10 - Strings: Single, Double & Triple-Quoted Formatting 38:07 - Escape Characters & Raw Strings (`r"..."`) 40:36 - String Concatenation, Repetition, `.split()` & `.join()` 43:50 - Searching Strings (`in`, `.find()`) & Trimming Whitespace (`.strip()`) 46:40 - Checking Types (`type()`) 47:25 - Dictionaries: Key-Value Pairs, Lookup & Nested Dictionaries 51:00 - Sets: Unique Elements & Mathematical Set Operations (Union, Intersection) 53:56 - For Loops: Counters (`range()`) & Sequence Iteration 56:46 - Advanced Iteration: `enumerate()`, `zip()` & Nested Loops 59:52 - Iterating over Dictionaries (`items()`, `keys()`, `values()`) 01:01:16 - While Loops & Loop Control (`break`, `continue`) 01:03:48 - Defining Functions (`def`), Parameters & Return Values 01:05:49 - Mutability Gotchas: Passing Lists into Functions 01:07:04 - Modules, Imports & Module Scope (`import`, `from ... import`) 01:11:35 - Main Script Execution Guard (`if _name_ == "__main__":`) 01:17:07 - String Formatting: `.format()` Method & Field Specifiers 01:22:00 - Modern F-Strings (`f"..."`) & In-Line Expressions 01:23:54 - File I/O: Opening, Writing & Reading Files 01:29:50 - The `with` Statement (Context Managers for Safe File Handling) 01:30:52 - Error & Exception Handling (`try`, `except`, `finally`) 01:36:05 - Python Style Guidelines (PEP 8) & Defensive Coding Practices 01:38:40 - List Comprehensions & Lecture Wrap-Up