On Fri, Nov 29, 2013 at 1:04 AM, Tim Chase
<python.l...@tim.thechases.com> wrote:
> You could work around this with:
>
>   from functools import partial
>   in_ = partial(open, self.full_path)
>   out_ = partial(open, self.output_csv, 'ab')
>   with in_() as input, out_() as output:
>     do_stuff()

Yeah, I think I'd prefer a backslash continuation to that!

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to