Is it possible to declare more than one variable using a with statement in Python?
with
Something like:
from __future__ import with_statement with open("out.txt","wt"), open("in.txt") as file_out, file_in: for line in file_in: file_out.write(line)
Discussion posts and replies are publicly visible