Another idea, python inside the score instr 1 prints "--- score in python ---\n" endin import sys sys.stdout = open(sys.argv[1], 'w') print "i1 0 1\n" tito