摘要:
python may definetheir ownfuncin scriptto mimic __LINE__ in C language so as to grab the line make easier, it should be something like this:"""This provides a lineno() function to make it easy to grab the linenumber that we're on."""import inspectdef lineno(): " 阅读全文