So far, SSH is all I can think of. Send a command line like python <dosometing.
, and interpret the response. I am, however, hoping for a lower level library, where I can enter the Python command in my interpreter's REPL, and have that command execute on the Pi, and return the result to my REPL.
Please no questions why don't I just SSH straight into the Pi and use its Python directly. I don't want to use an SSH session to write Python on my headless Pi. I want a Windows Python REPL that talks to the Raspbian Python transpiler. This is for an experimental task that is part of a much larger project about .NET and Pi communication.