Hardware Reference
In-Depth Information
Figure 12-3:
Running
helloworld.
py in IDLE
This tells the operating system to run Python and then load the helloworld.py file for
execution. Unlike the Python shell in IDLE, Python will quit when it reaches the end of the
file and return you to the terminal. The result, however, is the same: the message Hello,
World! is printed to the standard output (see Figure 12-4).
Figure 12-4:
Running
helloworld.
py at the
terminal
Search WWH ::




Custom Search