bad interpreter: /bin/python3^M: no such file or directory

C++
dos2unix FILENAME
Source

Also in C++: