美文网首页
Python | PyCharm 中第一个小程序hellowor

Python | PyCharm 中第一个小程序hellowor

作者: 艾兜兜儿 | 来源:发表于2021-04-22 09:56 被阅读0次

导读:

今天你学什么了 ↓
上一章在 Python 中安装了 Locust ,今天在 PyCharm 中实操一下。

准备工具

  • 系统版本:win10专业版
    ① 快捷键:Ctrl + R → winver
    ② 系统版本2004 [操作系统内部版本 19041.867 ]
  • 软件版本:PyCharm

操作步骤

1、启动PyCharm 2021.1 x64,如下图

启动PyCharm

2、新建项目 新建项目

3、新建文件 新建文件1 取名

4、写源代码

#!/usr/bin/python
# Filename : helloworld.py
print('Hello World')

第一个Python文件 - helloworld.py

5、注意事项

  • Python 区分大小写,即print与Print不一样
  • 确保在每一行的开始字符前,没有空格或者制表符

End
by 艾兜兜儿 2021.04.20

相关文章

网友评论

      本文标题:Python | PyCharm 中第一个小程序hellowor

      本文链接:https://www.haomeiwen.com/subject/gwfwlltx.html