标签:highlight 运行 创建 odi blog image hello class com
创建test.py文件
#coding=utf-8 #定义函数 def hello(): print "hello world" #调用函数 hello()
在cmd下面运行
python 定义函数 调用函数
原文地址:http://www.cnblogs.com/xuqiulin/p/6628718.html