Tag: Learn Python the Hard Way Exercise 16

LPTHW - Exercise 16: Reading and Writing Files

LPTHW - Exercise 16 Here we have a lot of 'doing'. A lot of writing anyway. Following this methodically should make it very easy to follow. Just take it one step at a time and see that what at first might appear difficult is merely 'complex' and not actually hard at all. Let's start with the lesson script and go from there... from sys import argv script, filename = argv print(f"We're going to erase {filename}.

Read more...