title: How can I access BPY in standard python console? BPY is the Blender-python -thing
body: <p>The author <a href="http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-using-blender-s-new-bpy-python-api-4898905">here</a> in point 17.20-17.50 mentions that you can access BPY with the standard Python interpreter in the future. It is already 1 year old so how can I access the BPY with the standard python console?</p>
  
  <blockquote>
    <p><strong>Trial 0: roundaround -solution not working with subprocess inside Blender</strong></p>
  
  <pre><code>subprocess.call(['vim', 'test.py'])
  # some editing of BPY -file with Vim (not working currently)
  subprocess.call(['python', 'test.py'])  
  # trying to execute the python -file (not working currently)
  </code></pre>
    
    <p><strong>Trial 1: not working outside Blender</strong></p>
  
  <pre><code>$ cat cubes.py 
  import bpy
  
  mylayers = [False]*20
  mylayers[0] = True
  add_cube = bpy.ops.mesh.primitive_cube_add
  for index in range(0, 5):
      add_cube(location=(index*3, 0, 0), layers=mylayers)
  $ python cubes.py 
  Traceback (most recent call last):
    File "cubes.py", line 1, in &lt;module&gt;
      import bpy
  ImportError: No module named bpy
  </code></pre>
  </blockquote>