Learning to Code with Python Reference Guide
Learning to Code with Python Reference Guide
• A student in the UK made a desktop dinosaur roar every time it was mentioned on twitter with
Python and Raspberry Pi
2. Install Visual Studio 2013 Update 2 so you have the latest features
That line of code is Python code that will print the words ‘Hello World’ on the screen
To run the program you can either use the function key F5, or you can select Debug| Start Debugging
from the menu, or you can press the Start Debugging button in the toolbar.
When you run the program, if you see the following output, then you have successfully installed Visual
Studio and the Python Tools for Visual Studio, and you are ready to code!
NOTE: If you got an error message saying something about not being able to find the interpreter, then it
is possible Visual Studio can’t find it. You can find instructions on how to tell Visual Studio how to locate
the interpreter manually here. Just scroll down to the part of the page that says “Hey, I already have an
interpreter on my machine, but PTVS doesn’t seem to know about it”. Follow the instructions then try to
run your program again.
To exit the program, you can press any key to continue as indicated in the displayed window, or you can
use the function key SHIFT+F5, or you can select Debug | Stop Debugging from the menu, or you can
press the Stop Debugging button in the toolbar.