步骤一:新建文本文档文件,修更名称为hello.pypython
步骤二:使用记事本打开文件,书写程序内容以下:spa
1 print("hello python")
步骤三:打开命令行,输入执行指令:python hello.py命令行
运行结果:屏幕显示hello pythoncode