# python_course **Repository Path**: hobbiton/python_course ## Basic Information - **Project Name**: python_course - **Description**: Basics of the Python language. - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2019-07-26 - **Last Updated**: 2023-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python_course 本项目包含了Python课程的示例程序。运行这些程序需要先安装Python 3.x。 ## 内容 ### 第一章:Python语言概述 * Python的安装。 * 编辑器或者集成开发环境的安装(比如Notepad++)。 * Python解释器和Python程序(p101_helloworld.py)。 * Python变量(p102_variables.py)。 * Python 字符串(p103_string.py)。 * Python 数值(p104_number.py)。 ### 第二章:复合数据类型和控制结构 * 列表(p201_list.py)。 * 元组(p202_tuple.py)。 * 字典(p203_dict.py)。 * 集合(p204_set.py)。 * 嵌套数据结构(p205_nested.py)。 * If语句(p206_if.py)。 * While循环(p207_while.py)。 ### 第三章:函数 * 函数的定义、参数的传递(p301_function.py)。 * 函数的返回(p302_return.py)。 ### 第四章:输入输出和异常处理 * 从终端输入(p401_input.py)。 * 文件的读写(p402_file.py)。 * Json格式的存储(p403_json.py)。 * 异常处理(p404_exception.py)。 ### 第五章:面向对象编程 * 类的定义(p501_class.py)。 * 类的继承(p502_inherit.py)。 ### 第六章:Python标准库 * 模块的导入(p601_module.py,p602_module.py)。 * 标准Python模块使用举例(p603_standard.py)。 ### 第七章:数据库访问 * Sqlite3数据库的访问(p701_sqlite3.py)。 * Mysql数据库的访问(p702_mysql.py)。 ### 第八章:Python在数据分析中的应用 ## 参考教材 * Eric Matthes著,袁国忠译:《Python编程从入门到实践》,第1版,人民邮电出版社,2016年出版。