Anyone have a simple Python IPC script I can use with Xojo?

I’m experimenting with an idea but am kind of new to python, so I’m hoping I can save some time by re-using someone’s existing code. I just want to test out IPC socket communication between Xojo and Python, using a modified version of the Xojo IPC example application. Does anyone have a simple python script that works with this that I can try? (I’m using python 3.9)

Most of what I’m finding when googling is either out of date or too low level for my current python knowledge. Thanks!

I found this, which required a bunch of updates because the code fails (someone in the comments lists the fixes you need to apply for newer versions of Python). It kind of works, enough that I can figure out what I need, so i think I’m good.