Protocol communication beginner - how to use OSC to output from a python program to processing sketch?

Thanks. Will look into it, um it’s a Python program running a ML model with output probabilities. I want to send the values of these probabilities to a port via OSC and receive them in Processing.