|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-python-programming-python-3/
课程评论:没有评论
Coursera Python编程(从基础到高级)课程概述: 本课程旨在提供Python语言的全面基础,适合编程初学者和希望拓展技能的经验丰富的开发者。Python以其简洁、通用和可读性强而闻名,是当今编程界的重要工具。 **核心学习目标:** * 掌握Python语法、数据结构、控制语句、函数和面向对象编程。 * 培养利用Python解决实际问题的能力。 * 自信地进行Python编程,并可应用于Web开发、软件开发和科学计算等领域。 **课程主要内容:** **第一模块:Python编程基础** 1. **Python入门:** Python概述、下载安装、环境配置(包括pip包管理器)。 2. **PyCharm IDE使用:** IDE安装、项目创建、界面导航、脚本编写与运行。 3. **Python基础:** 变量、数据类型(整型、浮点型、字符串、布尔型)、类型转换、运算符(算术、比较、逻辑、赋值)。 4. **控制流语句:** 条件语句(if, if-else, elif, 嵌套if)、循环语句(for, while)、循环控制(break, continue, pass)。 5. **Python数据结构:** 列表(创建、访问、修改、常用方法)、元组(特性与操作)、字符串(声明、方法、操作、格式化)、字典(创建、访问、方法)、集合(创建、访问、操作)。 **第二模块:Python面向对象编程** 1. **类与对象:** 定义类、创建对象、实例变量与方法、类内外部函数。 2. **方法参数:** 位置参数、关键字参数、默认参数值。 3. **构造函数与重载:** `__init__`方法、构造函数创建与默认参数、模拟构造函数重载。 4. **静态成员:** 静态变量、使用 `@staticmethod` 的静态方法。 5. **Python继承:** 单继承、多继承、多层继承、层级继承;方法重写;使用 `super()` 调用父类方法。 6. **Python模块与包:** 创建与导入模块、使用包、命名空间管理。 7. **异常处理:** 内置异常处理(try, except, else, finally)、引发自定义异常、使用 `assert` 语句。 8. **高级概念:** 装饰器、生成器。 **第三模块:基础程序实践** * **数值操作:** 交换两个数、判断质数、计算阶乘、生成斐波那契数列。 * **数组/列表操作:** 数组求和、查找数组最大/最小值、获取列表长度、交换列表首尾元素、交换列表中两个元素、移除指定词语的N次出现、检查/搜索列表中元素、不同方式清空列表、反转列表、克隆/复制列表、统计列表中元素出现次数、查找列表中最小的数。 完成课程后,参与者将能熟练运用Python进行编程,掌握其核心概念与高级特性,并能将所学知识应用于实际项目。
Course Title: Python Programming (Basic To Advanced)Course Description: Python has become a cornerstone in the programming world, renowned for its simplicity, versatility, and readability. "Introduction to Python Programming" is designed to be an immersive learning experience, providing a solid foundation in both fundamental programming concepts and the Python language. Whether you are a beginner eager to enter the world of programming or an experienced developer looking to add Python to your skill set, this course will equip you with the knowledge and skills needed to excel in various domains, including web development, software development, and scientific applications.Take-Away Skills: Upon completion of this course, participants will gain confidence in programming with Python. The key take-away skills include a comprehensive understanding of Python syntax, data structures, control statements, functions, object-oriented programming, and practical problem-solving using Python.Topics Covered:Module 1: Python Programming 1. Getting Started with PythonOverview of Python Programming LanguageDownloading and Installing PythonSetting Up Python EnvironmentConfiguring Python Path in Environment VariablesVerifying Python InstallationIntroduction to pip - Python Package Installer2. Working with PyCharm IDEInstalling PyCharmSetting Up a New Python ProjectNavigating the PyCharm InterfaceWriting and Running Python ScriptsFirst Python ScriptUnderstanding Python File StructureRunning Scripts in PyCharm and via Command LineConsole Output and print() FunctionString Formatting Techniques3. Python BasicsVariables and Data TypesDeclaring and Initializing VariablesData Types: int, float, str, boolType CastingOperators in PythonArithmetic, Comparison, Logical, and Assignment Operators4. Control Flow StatementsConditional Statementsif, if-else, elif, and Nested ifLooping Constructsfor and while LoopsNested LoopsLoop Control: break, continue, pass5. Python Data StructuresListsCreating, Accessing, and Modifying ListsCommon List MethodsTuplesCharacteristics and OperationsStringsDeclaration, Methods, Operations, and FormattingDictionariesCreating, Accessing, and Dictionary MethodsSetsCreating, Accessing, Set Operations and MethodsModule 2: Python Object-Oriented Programming1. Classes and ObjectsDefining Classes and Creating ObjectsInstance Variables and MethodsWriting Functions Inside and Outside Classes2. Method ParametersPositional ArgumentsKeyword ArgumentsDefault Parameter Values3. Constructors and OverloadingUnderstanding the __init__ MethodConstructor Creation and Default ArgumentsMethod Overloading using Default ParametersSimulating Constructor Overloading4. Static MembersStatic VariablesStatic Methods using @staticmethod5. Inheritance in PythonTypes of InheritanceSingle, Multiple, Multilevel, and HierarchicalMethod OverridingUsing super() to Call Parent Class Methods6. Python Modules and PackagesCreating and Importing ModulesWorking with PackagesNamespace Management7. Exception HandlingBuilt-in Exception Handlingtry, except, else, finally BlocksRaising and Custom ExceptionsUsing assert Statements8. Advanced ConceptsDecorators in PythonGenerators in PythonModule 3: Basic Programs:Swapping two numbersChecking whether a number is prime or notCalculating the factorial of a numberGenerating Fibonacci numbersArray Programs:Finding the sum of an arrayFinding the maximum and minimum elements in an arrayList Programs:Finding the length of a listSwapping first and last elements in a listSwapping two elements in a listRemoving the Nth occurrence of a given wordChecking if an element exists/searching in a listClearing a list in different waysReversing a listCloning or copying a listCounting occurrences of an element in a listFinding the sum of elements in a listFinding the smallest number in a listJoin us on a journey to master Python and unlock a world of possibilities in the realm of programming!