- python是一门跨平台、开源、免费的解释型高级动态编程语言,支持伪编译将python源程序转换为字节码来优化程序和提高运行速度。
- 命令式编程(C)函数式编程(python)
(cmd执行命令内部有空格时加“”)
遇到的问题:idle无法启动
解决办法:找到安装文件进行修复
import math math.sqrt(9)//3.0 =>9 ** 0.5 **是幂乘运算
运行方法:
- 在运行窗口run module
- 使用命令窗口运行
shift + 右键直接打开窗口,输入python test.py
PS D:StudyWorkStudy_DailyPythoncode> python test.py hello world



