[Python-ideas] With-expression

Leif Walsh leif.walsh at gmail.com
Sun Jan 18 23:41:15 CET 2009

On Wed, Jan 14, 2009 at 2:12 AM, Carl Johnson <carl at carlsensei.com> wrote:
> From the department of doomed ideas:
>     data = f.read() with open("file.txt") as f

"Who do you think we are, Ruby?"

Just kidding, but -1.


More information about the Python-ideas mailing list