1.Python的交互式编程

  • 配置环境变量

    环境变量(environment variables)一般是指在操作系统中用来指定操作系统运行环境的一些参数。

  • 在cmd中编程

    import antigravity(彩蛋)

2.使用文本编辑器编程

  • 文件名.py结尾

    print("hello world")

3.使用IDE工具pyCharm编程

license server:http://idea.imsxm.com/

#! C:\Python36\python.exe #解释器
# -*- coding:utf -8-*-#编码格式,官方推荐
# coding=utf-8
print("hello world")

results matching ""

    No results matching ""