first guess, you’re not opening the file in write ...
# getting-started
s
first guess, you’re not opening the file in write mode