akkartik mentioned my library to call Python from Arc. Going in the other direction is also easy. To call Arc from Python, have Arc run a web server on a port (say 8080 or 9001 or whatever) that you firewall off so that only your Python program can get to it, and have Arc accept HTTP requests with things to do and have it respond with a JSON response.