
🐚 作者: 阿伟
💂 个人主页: Flyme awei🐋 希望大家多多支持😘一起进步呀!
💬 文章对你有帮助👉关注✨点赞👍收藏📂

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文件试试效果


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

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