1、两种执行方式 Python 解释器 py文件路径 Python 进入解释器:实时输入并获取到执行结果 #!/usr/bin/env python 文件内部写此行是linux下声明Python解释器的位置