Is it possible to print a function as a string in Python?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1562759/can-python-print-a-function-definition">Can Python print a function definition?</a>  </p>
</blockquote>



<p>In Javascript, it is possible to print a function's code as a string?</p>

<p>Example in Javascript:</p>

<pre><code>function thisFunctionPrintsItself(){
    return thisFunctionPrintsItself.toString();
}
</code></pre>

<p>Is it possible to do the same in Python?</p>
