创建test.py文件 #coding=utf-8 #定义函数 def hello(): print "hello world" #调用函数 hello() 在cmd下面运行 相关文章: 2021-07-03 2021-11-15 2021-08-07 2022-12-23 2022-12-23 2021-12-30 2022-12-23 2022-12-23