> for i in range(10):                                         # Jython code
>  print i                                                        # more Jython code
>  doSomethingNonPythonic(blahblahblah) # non-Jython code that I would like to execute
>  print i*2                                                     # more Jython code


why not...

def t(non_python_code):
  #interpret the script lang...

and

for i in range(10):
  print i
  t('''
some code that is not python at all...
''')
  print i*2