当前位置:网站首页>PyCharm usage tutorial (detailed version - graphic and text combination)
PyCharm usage tutorial (detailed version - graphic and text combination)
2022-08-02 08:38:00 【m0_67402125】
Table of Contents
four, install the tripartite package
The use of PyCharm runs through the whole Python learning, so it is not suitable to take out a tutorial alone. It is still unclear to the novice if you say too much. Here we will start with some functions of PyCharm that you need to use before learning., in the following python video tutorial, we will tell you more about itAdvanced usage.
We have already installed PyCharm in the last lesson, so I won't talk about it here, let's start with creating a project.
1. Create a project
1. Every time we develop a new project, we need to create an environment. Open PyCharm here and click Create New Project directly.

2. Select the project path

3. Click Create to start creating, so that we not only create a new project directory, but also configure the development environment.Then enter the working interface of the IDE, click file, and then click new to create a subdirectory or file.

4. If you create a file, click the Python file pointed by the arrow in the figure below. If you are creating a subdirectory, you can choose 1 or 2 in the figure below. The difference between the two is that 1 is a normal directory and 2 is a package.The directory can be imported directly. I won't talk about it here. It will be explained in detail in the virtual environment later.

Second, run
We have created the above projects and files. For the convenience of demonstration, I have written a piece of code in the new asking price test.py.
import randomi = [1, 2, 3] for i in range(1, 10):print(i)Let's run this code, here we find three green triangle symbols, we can all click, but there is a little difference between these three symbols, it is not convenient to demonstrate here, we will demonstrate the difference one by one in the python basic video tutorial,Here you just need to know that it is best to select the green triangle symbol below the right button to run the code.

Three, error message
If there is an error in our code, there will be a prompt in the run below PyCharm, as shown below

Fourth, install the tripartite package
To install the third-party package, you can directly use CMD, select the correct path, and then install the third-party package.

I will explain the CMD commands here one by one in the following video lessons.

In addition, we can also install directly through the IDE, switch to Terminal and select the correct path to install the third-party package.

Also, install directly in the setting. This is the recommended installation method. The installation path will not be wrong, and the environment will not be chaotic.


PyCharm's tutorial I will introduce so much first, and then the video course will followThere will also be many related usages, which cannot be explained here, such as virtual environment installation, file format conversion, template creation, debugging, etc.
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- @RequestParam使用
- 类和对象【下】
- 离线部署通过tiup 配置好topology.yaml文件指定PD TV TIDBserver 是不是会自动在其他机器创建好对应得模块?
- 如何建立私域流量?私域流量对企业有什么好处?
- OneNote Tutorial, How to Create More Spaces in OneNote?
- 自定义table表格
- Postman download localization of installation and use
- 52.【bool类型输入任何非0数值不为1的版本原因】
- R语言plotly可视化:使用plotly可视化模型预测真阳性率(True positive)TPR和假阳性率(False positive)FPR在不同阈值(threshold)下的曲线
- High imitation [Huawei consumer business official website] and wonderful animation analysis: practice embedding JS code in low-code platform
猜你喜欢

Biotin-EDA|CAS:111790-37-5| 乙二胺生物素

cas: 139504-50-0 Maytansine DM1|Mertansine|

Figure robot software digital twin station oil and gas pipelines, oil and gas transportation control platform

C语言基础_共用体

PyQt5(一) PyQt5安装及配置,从文件夹读取图片并显示,模拟生成素描图像
![[OC学习笔记]ARC与引用计数](/img/56/033cfc15954567d63d987d91ca8d63.png)
[OC学习笔记]ARC与引用计数

Redisson实现分布式锁
![Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )](/img/3c/5cc4d16b9b525997761445f32802d5.png)
Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )

MySQL压缩包方式安装,傻瓜式教学

pnpm:简介
随机推荐
C Language Basics_Union
C语言_指针
Elasticserch 自定义字段,用户会频繁的创建和删除字段,怎么设计mapping?
QT web development - Notes - 3
C语言_条件编译
AttributeError: module ‘clr‘ has no attribute ‘AddReference‘
PyCharm使用教程(较详细,图+文)
Business Intelligence Platform BI Business Intelligence Analysis Platform How to Choose the Right Business Intelligence Platform BI
MySQL 中 count() 和 count(1) 有什么区别?哪个性能最好?
USACO美国信息学奥赛竞赛12月份开赛,中国学生备赛指南
Redis分布式锁
PyCharm usage tutorial (more detailed, picture + text)
R language plotly visualization: plotly visualizes the scatter plot of the actual value of the regression model and the predicted value of the regression, analyzes the prediction performance of the re
[OC学习笔记]Block三种类型
Shell变成规范与变量
工程师如何对待开源 --- 一个老工程师的肺腑之言
Biotin-LC-Hydrazide|CAS:109276-34-8|生物素-LC-酰肼
redis-desktop-manager下载安装
day_05模块
Biotin - LC - Hydrazide | CAS: 109276-34-8 | Biotin - LC - Hydrazide