Running Python files with Renardo code

Hi,

I’m trying to run a regular python script with Renardo code and I found this tutorial to do it with regular old FoxDot, but importing Renardo and using Go() is not working. Is it possible to do this with Renardo?

EDIT: I found this tutorial for Renardo and I can now get sound but I can’t stop it the instrumetns through the script.

Btw, is there a way to use variables on instructions for play()? For example, instead of pressing the space bar 8 times for a long rest, could I just reduce the line length by using a variable called “rest8” for example? I’ve tried it but it only accepts string data.

Thank you!