loop and raw_input simultaneously?
<p>I'm making a program that listens for commands both from a looping raw_input and repeatedly checking a file for updates. Is there a way to do this? Basically, there's a loop with a <code>time.sleep(1)</code> for checking the file, and a while loop with <code>raw_input</code>. Multiprocessing doesn't seem to be what I need.</p>
