Python: Scanning raw_input
<p>I would like to get multiple commands from raw_input(). I have been using this:</p>

<pre><code>reply = raw_input("&gt;").split(' ')

command = reply[0]

file = reply[1]
</code></pre>

<p>but this seems very hacky to me is there a better way to do this in python?</p>
