python的第一个尝试

今天安装了PyCharm,下载网址为https://www.jetbrains.com/pycharm/download/#section=windows

安装后,界面如下:
在这里插入图片描述
点击 “new project”,修改保存路径(可选)
click on “new project”, and then change the saving location (optional)
在这里插入图片描述
在新建前,查看一下base interpreter是否正确,应该选择自己安装python的版本(应该是3.0以上版本了),然后create
before starting a new project, make sure that the “base interpreter” is correct. thereafter click on “create” button.
在这里插入图片描述
right click on the “HelloWorld” file which I just created, then create a new python file with .py as file extension.
右键"HelloWorld" 文件,新建一个python文件,后缀为.py
在这里插入图片描述
在这里插入图片描述
新手,先来个简单一点的任务吧
start with a simple task!
print("Have a nice day!")
在这里插入图片描述
click on “Run …” button or use shortcut “Alt + Shift +F10” (maybe different in every computer)
点击"Run …"或者使用快捷键 “Alt + Shift +F10” (每台电脑可能都不一样)
在这里插入图片描述
在这里插入图片描述
运行结果

在这里插入图片描述
easy, right?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值