ITeye博客

/usr/bin/python^M: bad interpreter: No such file or dir解决办法

youanyyou · 2015-08-03 15:21 · python · 编程语言 · Markdown

Linux直接./xx.py执行python脚本时报错

修改脚本文件编码

$vi xx.py

$set ff=unix

$:wq

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。