title: Is there an elegant way to trace a printed statement to the line of code that printed it?
body: <p>I want a quick way to recognize a print line.
  For example, in JS there is console.trace() that gives you an easy indication of where the print came from.</p>
  
  <p>I know I can print a traceback but it is just too big for the task and makes following the code execution almost impossible.
  I need something that wouldn't take a lot of room when printed and will point me to the correct line where that output was printed.</p>