Small program ideas

Chris Angelico rosuav at
Wed Feb 27 07:18:24 CET 2013

On Wed, Feb 27, 2013 at 2:27 PM, Dave Angel <davea at> wrote:
> But to convert a DOS text file (with lines ending cr/lf) into a Unix text
> file (with lines ending lf)  would be a dozen lines, shrinkable to 3 with
> lots of experience.  (And I'd probably prefer the dozen line version)

Code golf!


No particular reason, and I'd probably prefer a 3-6 line version of
it, but it's fun to do it as one :)


More information about the Python-list mailing list