您当前的位置: 首页 >  ar

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

发布时间:2022-07-25 20:29:44 ,浏览量:5

🐚 作者: 阿伟
💂 个人主页: Flyme awei

🐋 希望大家多多支持😘一起进步呀!

💬 文章对你有帮助👉关注✨点赞👍收藏📂

集成开发环境Pycharm的安装


文章目录

  • 集成开发环境Pycharm的安装
  • 一、Pycharm的下载及安装
  • 二、pycharm的使用
  • 三、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文件试试效果

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

好啦,文章到这里就结束啦!
感谢小伙伴你们的支持!

关注
打赏
查看更多评论

暂无认证

  • 5浏览

    0关注

    115983博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录