集成开发环境Pycharm的安装及模板设置

216 阅读2分钟

携手创作,共同成长!这是我参与「掘金日新计划 · 8 月更文挑战」的第3天,点击查看活动详情

🤵‍♂️ 个人主页: @Flyme awei 个主页
👨‍💻 作者简介:Python领域新星创作者。
📒 系列专栏:《在线编程-Python篇
🌐推荐一款找工作神器网站:《牛客网》|笔试题库|面试经验|
🐋 希望大家多多支持😘一起进步呀!
📝 如果文章对你有帮助的话,欢迎评论 💬点赞 👍收藏 📂加关注

集成开发环境Pycharm的安装

在这里插入图片描述\

文章目录

一、Pycharm的下载及安装

jetbrains官网:www.jetbrains.com.cn/

PyCharm官方下载网址: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文件试试效果
在这里插入图片描述在这里插入图片描述
可以看到效果还是不错哒。
在这里插入图片描述

好啦,文章到这里就结束啦!
感谢小伙伴你们的支持!
在这里插入图片描述