Learn Python the Hard Way, exercise 20, confused about functions
<p>While going through the exercises, I came across something that, even after research, I simply cannot grasp.</p>

<p>Here's the specific bit of code:</p>

<pre><code>def print_all(f):
    print f.read()
</code></pre>

<p>For the whole script: <a href="http://learnpythonthehardway.org/book/ex20.html" rel="nofollow">http://learnpythonthehardway.org/book/ex20.html</a></p>

<p>What's really, really confusing me is the (f) part.
Where does that f come from? What's its purpose?</p>

<p>Oh well, thanks in advance!</p>
