#coding=utf-8 #!user/bin/python import sys import test2 def functionsss(name,sex,age=25): print name print sex print age return functionsss('world','男') def xxx(): print '你好啊' xxx() def add(var ,var2): var3 =var + var2 var4 = var3 * 2 return var4 print add(2,3) print test2.incter()
需要引入的文件
#coding=utf-8 #!user/bin/python def incter(): print '文件已经引进来了' return