title: Reading a line from standard input in Python
body: <p>What (if any) are the differences between the following two methods of reading a line from standard input: <code>raw_input()</code> and <code>sys.stdin.readline()</code> ? And in which cases one of these methods is preferable over the other ?</p>