演示文档字符串

2015-08-03 0 529
演示文档字符串
#演示文档字符串
#!/usr/local/bin/python2.5
'''I am this file's doc string,hehe!'''

def prt(x,y):
	'''I am doc string!
I hope you can remeber me'''
	
	'''I am testing'''
	
	print x,y  #I am tip too,please remeber I am diferent in version 3.0 
	
prt(1,2)
print prt.__doc__

import sys
print sys.__doc__

import if_exp
print if_exp.__doc__

遇见资源网 python 演示文档字符串 http://www.ox520.com/15654.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务