Let's talk about how to read from standard input in Python.
When you use Python's print
function, you're writing to a file-like object.
...
This is a premium screencast available only to active Python Morsels subscribers.
You can find free screencasts on the screencasts page.
Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.