|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/programming-with-python-part-2/
课程评论:没有评论
**课程名称:** Python 编程(第二部分) **课程简介:** 本课程是 “Python 编程” 系列的第二部分,旨在帮助学习者深入理解 Python 编程语言和更广泛的编程概念。讲师 Alison 拥有科学背景和软件开发经验,以清晰、逻辑性和结构化的方式教授知识,并通过实例和练习加深理解。 **课程内容:** * **复杂数据结构:** 介绍并深入学习 Python 中除基础数据结构外的其他重要类型,包括集合(sets)、字典(dictionaries)、字节串(bytes)、元组(tuples)和列表(lists)。 * **循环与推导式:** 详细讲解 Python 中不同类型的循环,以及如何使用推导式(comprehensions)来优化和简化循环代码。 * **作用域解析与 LEGB 规则:** 探讨 Python 中的作用域规则,“LEGB”(Local, Enclosing, Global, Built-in)原则的运用。 * **错误处理与异常:** 学习在 Python 中可能遇到的各类错误,掌握调试技巧,学习如何处理异常,并了解如何创建自定义异常。 * **代码测试:** 学习使用测试框架对 Python 代码进行测试,理解固定装置(fixtures)和模拟(mocks)的工作原理。 **课程目标:** 学完本课程后,学习者将能够熟练运用 Python 的复杂数据结构,编写高效的循环代码,理解并处理程序中的错误,以及掌握代码测试的基本方法。 **讲师:** Alison
Hi!My name is Alison.I'm an analytical person with a science background, that has a passion for complex problem solving. I have a PhD in Science and I currently work as a Software Developer.I'm here to teach you Maths, Chemistry, Physics and Programming.I present my courses in a clear, logical and structured way. For every topic, I also include an example or exercise to make sure that it is clear and easy to understand.Please send me your feedback and let me know if you have any comments, questions or suggestions. I may be able to prepare a course that interests you.In this specific course we will learn various concepts about programming using the Python language. This the second part of a series of courses were we will learn how the Python programming language works as well as programming concepts. 1) First, we will introduce more complex data structures beyond the basic ones we learnt about in the first part of these courses. This includes sets, dictionaries, bytes, tuples, lists. 2) Afterwards, we will explain the different kinds of loops in Python and how we can use comprehensions to make our loops more compact3) Next, we will look at scope resolution in Python and the LEGB rule 4) Then we will discuss what kind of errors we can encounter in python, how we can debug them and handle them as well as how we can create our own exceptions5) Finally, we will learn how to test our code using a testing framework and we will learn how fixtures and mocks work I hope you enjoy this course, find it easy and learn a lot with meGood luck and see you soonAlison