# Python help? Export OSC data to Processing

**URL:** <https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326>\
**Category:** Libraries\
**Created:** [May 26, 2020, 8:44pm UTC](https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326 "2020-05-26T20:44:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [May 27, 2020, 3:25am UTC](https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326/2 "2020-05-27T03:25:21Z")

</div>

Hello, I am sure I have seen another OSC question in Python recently. I have not attempted to communicate between Python and Processing using OSC but it should be doable. Here, I would like to suggest you explore a recent example I shared in this post where I send data from Python and Processing listen to it:

> [@Sending real-time data via TCP](https://discourse.processing.org/t/sending-real-time-data-via-tcp/21242/12):
>
> REFERENCE: [https://stackoverflow.com/questions/18743962/python-send-udp-packet](https://stackoverflow.com/questions/18743962/python-send-udp-packet) This is my POC using python to send data and Processing listening for any packages. Note that Processing’s draw loop is blocked so you need to send data to see some action. To run this demo, run first your Processing sketch and then run the python script. I have provided some instructions to set up the virtual environment more for my record. Processing sketch will only store 10 incoming messages in a StringArray obj…

This is an alternative to an OSC solution.

Kf

---

_[View the full topic](https://discourse.processing.org/t/python-help-export-osc-data-to-processing/21326)._
