Fun python 3.2 one-liner

Raymond Hettinger python at rcn.com
Tue Apr 5 20:10:57 EDT 2011


On Apr 5, 6:38 am, Daniel Fetchinson <fetchin... at googlemail.com>
wrote:
> >> what is the character limit on a one liner :P.
>
> > For PEP 8 compliance, 80 characters. :-)
>
> Yeah, but we don't live in the 80's or 90's anymore and our screens
> can support xterms (or let alone IDE widows) much wider than 80
> characters. I'm using 140 for python these days. Seriously, who would
> want to limit him/herself to 80 characters in 2011?

I wonder how many people will shorten otherwise clear
variable names just to get their lines to fit in 80 characters?


Raymond



More information about the Python-list mailing list