Back

File Handling

Created 1 year ago
68 Views
1 Comments
Cypher
@Cypher
Cypher
@CypherProfile is locked. Login

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'

Comments
Please login to comment.