Updated the Python code to reflect the Getting Started Tutorial.