Can I execute a Python script from Pure Data?

I know that there are several tools for using Pure Data (Pd) in Python, so you can program and use Pd without using your GUI. I was wondering if anyone had tried the other way around. I want to send sequence information to Python and process it using a Python script. Then I want to send the information to Pd.

So far, I have written sequences to text files using the [msgfile] object in Pd. They can be opened and processed using Python, but this is due to switching to IDLE and manually starting the program, writing to a text file, and finally reading from the file to Pd. If Pd can execute Python scripts, this would save me from writing my own objects in C or C ++ or switching between programs and manually running my scripts.

+5
source share
1 answer

Yes, you can execute python scripts from Pure Data using the external Thomas Grill external object: http://grrrr.org/research/software/py/

+3
source

All Articles