python调试-如何打印行号 2017-12-13 本文已影响0人 步履不停的Suunny import sys print "here is :",file,sys._getframe().f_lineno