How can I get the file name and line number in a Python script? Exactly the file information we get from an exception traceback. In this case without raising an exception. Continue reading...