I'm new to Python and reading someone else's code:
should urllib.urlopen() be followed by urllib.close()? Otherwise, one would leak connections, correct?
Strictly speaking, this is true. But in practice, once (if) urllib goes out of scope, the connection will be closed by the automatic garbage collector.
should I call close() after urllib.urlopen()?