Python and PEP8 - Recommendations on breaking up long lines?

Chris Angelico rosuav at
Thu Nov 28 15:21:04 CET 2013

On Fri, Nov 29, 2013 at 1:04 AM, Tim Chase
<python.list at> 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!


More information about the Python-list mailing list