背景:
Pycharm是python开发利器,然后部署到liunx中,发现每一行都带上小尾巴^M
原因是window回车编码的不同。
解决
pyCharm中设置
File->setting->Editer->CodeStyle
设置line sperater for new line 设置成Unix/Os x
开发之前先设置吧!
背景:
Pycharm是python开发利器,然后部署到liunx中,发现每一行都带上小尾巴^M
原因是window回车编码的不同。
解决
pyCharm中设置
File->setting->Editer->CodeStyle
设置line sperater for new line 设置成Unix/Os x
开发之前先设置吧!