当前位置:网站首页>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
边栏推荐
- Biotin hydrazide HCl|CAS:66640-86-6|Biotin-hydrazide hydrochloride
- 高仿【华为消费者业务官网】和精彩动画剖析:练习在低代码平台中嵌入JS代码
- PyQt5 (a) PyQt5 installation and configuration, read from the folder and display images, simulation to generate the sketch image
- 如何将项目部署到服务器上(全套教程)
- R language plotly visualization: use the plotly visualization model to predict the true positive rate (True positive) TPR and false positive rate (False positive) FPR curve under different thresholds
- 血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的
- 软件测试技术之解析图灵测试离我们还有多远
- 小说里的编程 【连载之二十一】元宇宙里月亮弯弯
- mysqldump --set-gtid-purged=OFF
- Biotinyl Cystamine | CAS: 128915-82-2 | biotin cysteamine
猜你喜欢

mysql 中 in 的用法
![Three types of [OC learning notes] Block](/img/40/edf59e6e68891ea7c9ab0481fe7bfc.png)
Three types of [OC learning notes] Block

解决IDEA安装安装插件慢问题

MySQL压缩包方式安装,傻瓜式教学
![shell中计算命令详解(expr、(())、 $[]、let、bc )](/img/3c/5cc4d16b9b525997761445f32802d5.png)
shell中计算命令详解(expr、(())、 $[]、let、bc )

IO process thread -> process -> day4

抓包工具Charles修改Response步骤

PostgreSQL学习总结(11)—— PostgreSQL 常用的高可用集群方案

Redisson报异常attempt to unlock lock, not locked by current thread by node id解决方案
![MFC最详细入门教程[转载]](/img/5d/655e75f6b8a547fefe0137a9b11536.png)
MFC最详细入门教程[转载]
随机推荐
PostgreSQL学习总结(11)—— PostgreSQL 常用的高可用集群方案
@FeignClient configuration参数配置
@PostConstruct注解详解
[ansible] playbook explains the execution steps in combination with the project
用C写小游戏(三子棋)
nodejs 简介
Biotin-LC-Hydrazide|CAS:109276-34-8|生物素-LC-酰肼
Flink 程序剖析
[OC学习笔记]weak的实现原理
原型模式
小康股份更名赛力斯,如何走出一条高端产品的“丝绸之路”?
小说里的编程 【连载之二十五】元宇宙里月亮弯弯
Seleniu截图代码以及给图片赋值名字
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
【开源项目】X-TRACK源码分析
R语言plotly可视化:plotly可视化回归模型实际值和回归预测值的散点图分析回归模型的预测效能、一个好的模型大部分的散点在对角线附近(predicted vs actual)
Figure robot software digital twin station oil and gas pipelines, oil and gas transportation control platform
next permutation
小说里的编程 【连载之二十一】元宇宙里月亮弯弯
血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的