unlink() would normally be found in the "os" module, so use it from there.
Remove unused import of "sys". If the file TESTFN exists before we start, try to remove it. Add spaces around the = in some assignments.
Showing
Please
register
or
sign in
to comment