问题
When I load .py edited with PyCharm for Win on Ubuntu platform, I can see each line trailed with ^M.
Is there a setting in PyCharm that I can avoid this annoying character?
回答1:
Settings
| Code Style
| General
| Line Separator
, set to \n (Unix).
来源:https://stackoverflow.com/questions/7688398/how-to-setup-pycharm-so-m-doesnt-show-up-in-ubuntu