Python 源程序就是一个特殊格式的文本文件,可以使用任意文本编辑软件做 Python 的开发
Python 程序的 文件扩展名 通常都是 .py
执行python程序的三种方式:
python2与python3解释器
交互器(官方shell,ipython)
IDE(pycharm)
python的第一个程序:
`print("hello python!")`
`print("hello world!")`
常见的python错误:
python常见错误单词列表:
* error 错误
* name 名字
* defined 已经定义
* syntax 语法
* invalid 无效
* Indentation 索引
* unexpected 意外的,不期望的
* character 字符
* line 行
* encoding 编码
* declared 声明
* details 细节,详细信息
* ASCII 一种字符编码
参与评论
手机查看
返回顶部