当前位置:网站首页>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
边栏推荐
- mysqldump --set-gtid-purged=OFF
- Three types of [OC learning notes] Block
- [ansible] playbook explains the execution steps in combination with the project
- 商业智能平台BI 商业智能分析平台 如何选择合适的商业智能平台BI
- Wang Xuegang - compiled shipment line file
- PyQt5(一) PyQt5安装及配置,从文件夹读取图片并显示,模拟生成素描图像
- QT web development - Notes - 3
- 普林斯顿微积分读本03第二章--编程实现函数图像绘制、三角学回顾
- [ansible]playbook结合项目解释执行步骤
- LeetCode第三题(Longest Substring Without Repeating Characters)三部曲之一:解题思路
猜你喜欢

pycharm的基本使用教程(1)

血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的

Shell becomes canonical and variable

cas:139504-50-0 美登素DM1|Mertansine|

Biotin hydrazide HCl|CAS:66640-86-6|Biotin-hydrazide hydrochloride

C语言_指针

Biotin-LC-Hydrazide|CAS:109276-34-8|生物素-LC-酰肼

redis-desktop-manager下载安装
![Three types of [OC learning notes] Block](/img/40/edf59e6e68891ea7c9ab0481fe7bfc.png)
Three types of [OC learning notes] Block

Application and case analysis of CASA model and CENTURY model
随机推荐
OneNote Tutorial, How to Create More Spaces in OneNote?
@FeignClient configuration参数配置
3D激光slam:LeGO-LOAM---地面点提取方法及代码分析
day_05_pickel 和 json
Mysql Mac版下载安装教程
HCIP9_BGP增加实验
小说里的编程 【连载之二十一】元宇宙里月亮弯弯
十大免费cms建站系统介绍推荐
离线部署通过tiup 配置好topology.yaml文件指定PD TV TIDBserver 是不是会自动在其他机器创建好对应得模块?
How Engineers Treat Open Source --- A veteran engineer's heartfelt words
近期在SLAM建图和定位方面的进展
Figure robot software digital twin station oil and gas pipelines, oil and gas transportation control platform
Seleniu截图代码以及给图片赋值名字
redis的安装与应用
In a recent build figure SLAM, and locate the progress
WebGPU 导入[2] - 核心概念与重要机制解读
JSP页面中page指令有哪些属性及方法可使用呢?
PyQt5 (a) PyQt5 installation and configuration, read from the folder and display images, simulation to generate the sketch image
node(三) 模块化
【开源项目】X-TRACK源码分析