Csound Csound-dev Csound-tekno Search About

[Csnd] python opcodes...Csound6

Date2013-04-29 15:48
FromRory Walsh
Subject[Csnd] python opcodes...Csound6
The python opcodes don't seem to work for me with Csound6? The examples from the manual runs without an error but it seems that no python commands get executed. Here's the simple instrument I'm using:

pyruni "import random"

instr 1
        pyruni  "message = 'a global random number: %f' % random.random()"
        pyrun   "print message"
endin

Any ideas?