Real-Time Py and Processing

please format code with </> button * homework policy * asking questions

I’m looking for a solution that can send in real-time an array from python to processing. I think that i may use the OSC, but I’m a beginner, where can I learn how to do this?

What do you mean? Do you want Python and processing to interact?

Yes, I need to send an array from python to processing in real-time

I have no idea how to use OSC (library if I understand correctly) but the way I would do this (it is not too accurate and I have never done that before) would be to write a .txt file that both programs can read but only python can edit.

Again I have never done this before and it is purely theoretical. It might be insanely inefficient.

Unless you have a lot of free time to spare I suggest waiting for the regulars here.