title: Can I somehow "compile" a python script to work on PC without Python installed?
body: <p>So I have a Python script:</p>
  
  <pre><code>myscript.py
  </code></pre>
  
  <p>I am executing it like this:</p>
  
  <pre><code>python D:\myscript.py
  </code></pre>
  
  <p>However, I must have Python installed and included in the <code>PATH</code> environment variable for that to work.</p>
  
  <p>Is it somehow possible to "bundle" Python executable with a Python script so other people will be able to run it on their PCs without Python?</p>
  
  <p>It is ok if it will work only in Windows.</p>
  
  <p>EDIT:</p>
  
  <p>After trying the <code>compile.py</code> I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\stuff\compile.py", line 4, in &lt;module&gt;
      import py2exe
  ImportError: No module named py2exe
  </code></pre>