I’m a beginner in Python and following some examples in a tutorial.
A filename “myText.txt” was created but couldn’t be read:
f = open(“myText.txt”, “w”)
Error message is:
Traceback (most recent call last):
File “”, line 1, in
io.UnssupportedOperation: not readable
This was followed exactly from an online tutorial but wasn’t able to execute on my comp.