app/controllers/preprocessor/python/python_preprocessor.rb
# Turns the code into code that is actually runnable by inserting the required imports and things.
Turns the code into code that is actually runnable by inserting the required imports and things.
Turns the code into code that is actually runnable by inserting the required imports and things .
def make_runnable(code)
    return %Q[
import webpiraten as garbledwebpiratenlibraryname
from webpiraten import Dir
from webpiraten import Obj
from webpiraten import look
from webpiraten import move
from webpiraten import put
from webpiraten import take
from webpiraten import turn
garbledwebpiratenlibraryname.configure_prefix("#{VM_PREFIX}")
] + code
  end
def make_runnable ( code ) return %Q[
import webpiraten as garbledwebpiratenlibraryname
from webpiraten import Dir
from webpiraten import Obj
from webpiraten import look
from webpiraten import move
from webpiraten import put
from webpiraten import take
from webpiraten import turn

garbledwebpiratenlibraryname.configure_prefix("#{VM_PREFIX}")

] + code end
Turns the code into code that is actually runnable by inserting the required imports and things.
Turns the code into code that is actually runnable by inserting the required imports and things .
code