栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

python的第一个尝试

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

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?

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/857171.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号