When I create a new file f = open("New.txt", "x") it shows file not found error
Traceback (most recent call last):
in <module>
f = open("New.txt", "x")
FileNotFoundError: [Errno 2] No such file or directory: 'New.txt'
When I create a new file f = open("New.txt", "x") it shows file not found error
Traceback (most recent call last):
in <module>
f = open("New.txt", "x")
FileNotFoundError: [Errno 2] No such file or directory: 'New.txt'