掰开揉碎『看漫画学Python』进阶篇
Learn Python with comics! Master data types, strings, functions, classes, objects & error handling. Perfect for beginners ready to level up their Python skills.
Course Content
掰开揉碎『看漫画学Python』进阶篇 is an intermediate-level Udemy course taught by 东升 关. It runs 11h 32m, is taught in Chinese, and includes a certificate of completion. 15 students have enrolled. It is a paid course, first published January 2023.
Data Structures & Programming Fundamentals
Understanding Data Types: Sequences, Lists, Tuples, Sets, and Dictionaries
This section dives into fundamental data structures in Python. Learn how to effectively use sequences – the building blocks for ordered collections – and explore their core operations like indexing, slicing, and membership testing. Master the differences between lists (mutable, ordered collections for dynamic data), tuples (immutable, ordered collections for data integrity), and sets (unordered collections of unique elements). Finally, unlock the power of dictionaries (key-value pairs) for efficient data storage and retrieval. Practical exercises will solidify your understanding of dictionary manipulation and iteration.
String Manipulation: Working with Text Data
This chapter covers essential techniques for working with strings in Python. Discover different ways to represent strings (regular, raw, and long strings) and learn how to convert between strings and numbers. Explore powerful string formatting methods, including using placeholders and format specifiers. Gain proficiency in common string operations like searching, replacing, and splitting. A hands-on project will help you analyze text data and calculate word frequencies.
Functions: Building Reusable Code Blocks
Learn how to define and utilize functions to create modular and reusable code. Understand different ways to call functions, including positional and keyword arguments. Explore the concept of default parameter values and variable-length arguments (using *args and **kwargs). Delve into variable scope within functions and discover various function types, including filter(), map(), and lambda() functions. Practice using lambda functions for concise, anonymous operations.
Object-Oriented Programming (OOP): Classes and Objects
This section introduces the principles of object-oriented programming in Python. Learn how to define classes and create objects based on those classes. Understand the concepts of instance variables, constructors, instance methods, and class variables. Explore encapsulation – protecting data through private variables and methods, and utilizing properties. Delve into inheritance and polymorphism, key concepts for building scalable and maintainable software. Learn how to override methods and leverage duck typing for flexible code design.
Exception Handling: Robust Programming
Master exception handling techniques to write resilient Python code. Learn how to catch and handle common errors like ZeroDivisionError. Utilize try-except blocks to gracefully manage potential exceptions. Explore multiple except clauses, handling multiple exceptions, and nesting try-except blocks. Discover the importance of using finally blocks for resource cleanup. Finally, learn how to define and raise custom exception classes. Hands-on exercises will reinforce your ability to handle errors effectively.
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.