# open('a:b:c','w') raises FileNotFoundError [Errno 2], not Errno 22 (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/open-a-b-c-w-raises-filenotfounderror-errno-2-not-errno-22-python-3-12-10-windows-11-51ad43683ea9
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, filenotfounderror, windows

A name with two colons gave "FileNotFoundError: [Errno 2] No such file or directory: 'a:b:c'".
