title: blender game engine import error
body: <p>i just started learning blender and its scripting and tried to run its sample code</p>
  
  <pre><code>import bge
  
  
  def main():
  
  cont = bge.logic.getCurrentController()
  own = cont.owner
  
  sens = cont.sensors['mySensor']
  actu = cont.actuators['myActuator']
  
  if sens.positive:
      cont.activate(actu)
  else:
      cont.deactivate(actu)
  main()
  </code></pre>
  
  <p>and get the following error:
  ImportError: No module named 'bge'
  i searched for a solution but couldn't find any.how to solve this problem?
  i am using blender 2.65</p>