您现在的位置是:网站首页> 编程资料编程资料
集成开发环境Pycharm的安装及模板设置图文教程_python_
2023-05-26
302人已围观
简介 集成开发环境Pycharm的安装及模板设置图文教程_python_
集成开发环境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文件试试效果


可以看到效果还是不错哒。

到此这篇关于集成开发环境Pycharm的安装及模板设置的文章就介绍到这了,更多相关Pycharm安装模板设置内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!
您可能感兴趣的文章:
相关内容
- python轻松过滤处理脏话与特殊敏感词汇_python_
- Python中Parser的超详细用法实例_python_
- Pycharm快速安装OpenCV的详细操作步骤_python_
- Python Pandas实现DataFrame合并的图文教程_python_
- 如何利用Python解析超大的json数据(GB级别)_python_
- 70行Python代码实现一个桌面自动翻译工具_python_
- 使用python解析json字段的3种方式实例_python_
- 手把手教会你双目摄像头Matlab参数定标_python_
- Pandas中Series的属性,方法,常用操作使用案例_python_
- Python中np.linalg.norm()用法实例总结_python_
