title: Run python script without calling the interpreter
body: <p>I am facing some difficulties running my python script without the "Python" keyword at the beginning.
  I've tried several suggestions already from similar questions, but none of them worked : </p>
  
  <ul>
  <li>using <code>#!/usr/bin/env python</code> at the top of the script didn't help me as suggested in other places. I'm getting the following error: 
  
  <blockquote>
    <p>: No such file or directory</p>
  </blockquote></li>
  <li><p>changed file and folder permissions :</p>
  
  <blockquote>
    <p>ls -la script.py </p>
    
    <p>-rwxrwxrwx 1 myuser g 24528 Apr  7 01:25 script.py</p>
  </blockquote></li>
  <li><p>tried to use <code>#!/usr/bin/python2.7 -B</code> but got the following error when trying to execute : </p>
  
  <blockquote>
    <p>Unknown option: -</p>
    
    <p>usage: /usr/intel/bin/python2.7 [option] ... [-c cmd | -m mod | file | -] [arg] ...
    Try `python -h' for more information.</p>
  </blockquote></li>
  </ul>
  
  <p>I can't figure it out why I'm not able to run the script just as it is <strong>./script.py</strong>, and not calling python interpreter manually at the beginning. </p>