Update to sample host computer code for python.