Top-rated recipes tagged "_getframe"http://code.activestate.com/recipes/tags/_getframe/top/2013-02-28T04:11:18-08:00ActiveState Code RecipesOne-liner to show the caller of the current function. (Python) 2013-02-12T13:13:16-08:00Oren Tiroshhttp://code.activestate.com/recipes/users/2033964/http://code.activestate.com/recipes/578422-one-liner-to-show-the-caller-of-the-current-functi/ <p style="color: grey"> Python recipe 578422 by <a href="/recipes/users/2033964/">Oren Tirosh</a> (<a href="/recipes/tags/_getframe/">_getframe</a>). </p> <p>This is a quick one-liner to produce the filename and line number of the caller of the current function.</p> One-liner to show the caller of the current function. (Python) 2013-02-28T04:11:18-08:00Deepakhttp://code.activestate.com/recipes/users/4183429/http://code.activestate.com/recipes/578475-one-liner-to-show-the-caller-of-the-current-functi/ <p style="color: grey"> Python recipe 578475 by <a href="/recipes/users/4183429/">Deepak</a> (<a href="/recipes/tags/_getframe/">_getframe</a>). </p> <p>This is a quick one-liner to produce the filename and line number of the caller of the current function.</p>