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
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to