debugging - filename and line number of python script -
How can I get the file name and line number in Python script?
File information obtained from an exception traceback in this case without lifting an exception.
inspection curentframe (). F_back.f_lineno
Comments
Post a Comment