title: PyCharm. /usr/bin/python^M: bad interpreter
body: <p>Cannot figure out, where to change EOF in PyCharm.
  My scripts, started with:</p>
  
  <pre><code>#!/usr/bin/python
  # -*- coding: utf-8 -*-
  </code></pre>
  
  <p>Outputs something like this, when I try to run it like executable (chmode +x):</p>
  
  <blockquote>
    <p>-bash: ./main.py: /usr/bin/python^M: bad interpreter: No such file or directory</p>
  </blockquote>
  
  <p>What to do and how to be?</p>