python 输出当前行号
import sys print sys._getframe().f_lineno
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------