Fix typo
This commit is contained in:
parent
b1a6f38203
commit
bf6d87606a
|
@ -261,7 +261,7 @@ os.listdir("/")
|
||||||
print( open("/boot.py").read() )
|
print( open("/boot.py").read() )
|
||||||
|
|
||||||
# Write to a file. Deletes existing content.
|
# Write to a file. Deletes existing content.
|
||||||
f = open("data.txt", "a")
|
f = open("data.txt", "w")
|
||||||
f.write("Hello ")
|
f.write("Hello ")
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user