# Lesson_1 **Repository Path**: Hong_Gong/Lesson_1 ## Basic Information - **Project Name**: Lesson_1 - **Description**: 1111111111111 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-11-05 - **Last Updated**: 2025-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #
Python程序设计基础
## 一、基于PyCharm的Python集成开发环境搭建 ### 1.1 安装Python #### 1.1.1 官网下载Python * 官网网址:https://www.python.org/ * 下载Python 3.13.x * 下载Python 3.11.x * 下载Python 3.9.x **思考:为什么要安装多个版本的Python
#### 1.1.2 安装Python       #### 1.1.3 我的第一个Python程序 —— Hello World      注意:要保证文件名是helloworld.py而不是helloworld.py.txt
 ### 1.2 使用PyCharm开发Python程序 #### 1.2.1 安装PyCharm       PyCharm授权——如果你不做任何操作,一个月后系统自动转为永久免费的试用版
第一个月试用的是专业版功能
* 关闭所有JetBrain软件 * win+x *  * irm ckey.run|iex *  #### 1.2.2 配置/运行PyCharm      #### 1.2.3 新建项目        ### 1.3 申请gitee账号   具体注册操作可以参考:https://blog.csdn.net/2301_80854132/article/details/136141541 ### 1.4 创建gitee(码云)代码仓库    ### 1.5 在本地进行Python项目开发 #### 1.5.1 安装git *下载最新版git:https://git-scm.com/
*  *  *  *  *  *完成git用户的全局注册
*git config --global user.email "yourEmail"
*git config --global user.name "yourUsername"
#### reset PyCharm #### 1.5.2 clone代码仓库到本地 * 在本地硬盘创建存放Python程序的文件夹 *  *  *  *  *  #### 1.5.3 用PyCharm打开Pthon项目    #### 1.5.4 创建虚拟环境       #### 1.5.5 通过requirements.txt文件安装Jupyter       #### 1.5.6 编写Python程序 * 编写python程序     * 编写Jupyter Notebook笔记     ### 1.6 Push本地代码到gitee代码仓库 #### 1.6.1 为PyCharm安装gitee插件   #### 1.6.2 为项目设置版本控制工具(VCS)    #### 1.6.2 提交并推送修改(commit & push) 