Transfer audio buffers from a Python script to a Go server?
There is no single "Best" way.  If the protocol has to go over ports 80/443 on the open internet, you could use web-sockets.  You could also POST base64 encoded chunks of data from python back to your server.  
If the robot and server are on the same network, you could send UDP packets from the robot to your server.  (Usually a missing packet or two on audio is not a problem).  Even if you have a web based Go server, you can still fire off a go routine to listen on UDP for incoming packets.  
If you could be more specific, maybe I or someone else could give a better answer?
I am a beginner trying to find a way to stream audio on a local server. I have a Python script that creates some binary data from a robot's microphone, and I want to send this data to be displayed on a local Go server I created.
I read somewhere that web sockets could be a solution.
But what's the simplest way to upload the audio buffers from the Python script? And how would I retrieve this raw binary data so that it can be streamed from the web app?
Many many thanks.