#Exercise 17: More Files: Extra Credit 3

from sys import argv**;** from os.path import exists**;** script, from_file, to_file = argv**;** indata = open(from_file).read()**;** open(to_file, 'w').write(indata)

So exactly how do the semi colons help? I’m kind of puzzled, Are the semi colons supposed to tell python ‘hey pretend this is a new line and read whats after’???

Just looking at this ‘one liner’ isn’t it considered sloppy???

That one liner is insanely sloppy, and I believe I say don’t write code like that at the end of the book. It’s more a fun puzzle to make you think about different ways to look at code and to get you to hack on that code.