open('a:b:c','w') raises FileNotFoundError [Errno 2], not Errno 22 (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
A name with two colons gave "FileNotFoundError: [Errno 2] No such file or directory: 'a:b:c'".
A name with two colons gave "FileNotFoundError: [Errno 2] No such file or directory: 'a:b:c'".