title: Access is denied error with pregenerated .pyc or .pyo files
body: <p>I am getting an <em>Access is denied error</em> while I am trying to run the .pyo file by double click or from the command prompt.</p>
  
  <p>Lets say I have abc.py (keeping main method entry point) which imports files xyz.py and imports wx etc.</p>
  
  <p>I generate the .pyo file. But once I try to run abc.pyo I get the <em>access is denied</em> error.</p>
  
  <p>I am not getting why this happening? Any help will really appreciated.</p>
  
  <p>(I am using windows xp as os).
  I am making .pyo from .py as following.</p>
  
  <ol>
  <li>I am having a .bat file CompileAllToPyo.bat which have 
  python -O Compileall.py</li>
  <li>The  Compileall.py keep the follwoing things</li>
  </ol>
  
  <p>import os
  import compileall
  os.popen3(cmdLine, 'b')
  compileall.compile_dir('.', force=1)</p>
  
  <p>This is all the info 
  Thanks</p>