Python的代码从Windows传到Linux里,看到已经有x权限了,就直接通过`./xxx.py`来运行程序,结果报错:
bash: ./Karrigell.py: /usr/bin/python^M: bad interprter: No such file or directory
于是查了下文件属性:
[root@localhost Karrigell-3.1.1]# file Karrigell.py
Karrigell.py: Python script, ASCII text executable, with CRLF line te