switch go server to python server