Ide vs ide
Christian Gollwitzer
auriocus at gmx.de
Sat Oct 28 07:15:51 EDT 2017
Am 28.10.17 um 09:04 schrieb Rustom Mody:
> [The other day I was writing a program to split alternate lines of a file;
> Apart from file-handling it was these two lines:
>
> for x in lines[0::2]: print(x.strip())
> for x in lines[1::2]: print(x.strip())
> ]
...and using the best(TM) tool for it, it is a one-liner:
gawk '{ print > "split" NR%2}' input.txt
>
> So coming to your question: IDEs are good for medium and (diminishingly) for large programs.
agreed
> Useful python programs are often small; even tiny
>
Christian
More information about the Python-list
mailing list