当前位置:网站首页>集成开发环境Pycharm的安装及模板设置
集成开发环境Pycharm的安装及模板设置
2022-07-27 04:41:00 【Flyme awei】

作者: 阿伟
个人主页: Flyme awei希望大家多多支持一起进步呀!
文章对你有帮助关注点赞收藏
集成开发环境Pycharm的安装

一、Pycharm的下载及安装
jetbrains官网:https://www.jetbrains.com.cn/
PyCharm官方下载网址:https://www.jetbrains.com.cn/pycharm/
PyCharm是一种Python的集成开发环境,带有一整套可以帮助用户在使用Python语言开发时提高效率的工具。
进入官网后:
步骤一
步骤二
步骤三
步骤四
步骤五
步骤六
步骤七
步骤八
二、pycharm的使用
1.双击图标打开

2.选择New Project
3.选择目录
4.选择解释器,OK后点击Create
5.系统给我们创建了一个main.py 的文件,里面的代码
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {
name}') # Press Ctrl+F8 to toggle the breakpoint.
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print_hi('PyCharm')
# See PyCharm help at https://www.jetbrains.com/help/pycharm/
直接右键运行
输出:Hi,Pycharm
三、Pycharm模板的设设置
1.File-Settings
2.直接照着图上详细的步骤走
然后点击OK即可
3.我们来新建一个demo.py文件试试效果

可以看到效果还是不错哒。
好啦,文章到这里就结束啦!
感谢小伙伴你们的支持!
边栏推荐
- 报错:cannot read poperties of undefined(reading ‘then‘)
- 【AtCoder Beginner Contest 260 (A·B·C)】
- .htaccess学习
- The execution process of a select statement in MySQL
- Vscode opens a new chapter in the visualization of pull request update code branches
- [error reporting] cannot read property 'parsecomponent' of undefined
- Structural mode - bridging mode
- [search] - multi source BFS + minimum step model
- Interview must ask | what stages does a thread go through from creation to extinction?
- 【搜索】双向广搜 + A*
猜你喜欢

Plato Farm有望通过Elephant Swap,进一步向外拓展生态

MySQL download and installation & perfect uninstall

「Photoshop2021入门教程」“拉平”带有透视感的图像

How to do smooth data migration: Double write scheme

Photoshop各历史版本回顾以及系统要求

消防安全培训资料汇总

Final Cut Pro Chinese tutorial (1) basic understanding of Final Cut Pro
![[C language] dynamic memory management](/img/20/3970cd2112204774a37b5a1d3bdce0.png)
[C language] dynamic memory management

JS tips

双向重发布实验
随机推荐
负数的右移
2019 top tennis cup upload
Pinia uses plug-ins for persistent storage.
[search] connectivity model of DFS + search order
Photoshop裁剪工具隐藏技巧
【报错】Cannot read property ‘parseComponent‘ of undefined
消防安全培训资料汇总
STL upper series - detailed explanation of list container
Shell programming enhancements
[search] two way search + A*
Final Cut Pro中文教程 (2) 素材窗口的认识
利用Power Automate,轻松下载Power BI报告中的数据
小程序项目如何创建
Vscode opens a new chapter in the visualization of pull request update code branches
报错:cannot read poperties of undefined(reading ‘then‘)
HCIA dynamic routing OSPF experiment
如何做数据平滑迁移:双写方案
「Photoshop2021入门教程」对齐与分布制作波点图案
0动态规划中等 LeetCode467. 环绕字符串中唯一的子字符串
Structural mode - decorator mode