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

步骤二

步骤三

步骤四

步骤五

步骤六

步骤七

步骤八

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

1.File-Settings

2.直接照着图上详细的步骤走
然后点击OK即可

3.我们来新建一个demo.py文件试试效果


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

到此这篇关于集成开发环境Pycharm的安装及模板设置的文章就介绍到这了,更多相关Pycharm安装模板设置内容请搜索易知道(ezd.cc)以前的文章或继续浏览下面的相关文章希望大家以后多多支持易知道(ezd.cc)!













