June 2017
Beginner
352 pages
8h 39m
English
Switch to a console with your operating system's shell prompt and change to the new pyfund directory:
$ cd pyfund
We can execute our module simply by calling Python and passing the module's filename:
$ python3 words.py
The command would be as follows if on Mac or Linux:
> python words.py
When on Windows.
When you press Enter, after a short delay you'll be returned to the system prompt. Not very impressive, but if you got no response then the program is running as expected. If, on the other hand, you saw some error out, then something it wrong. An HTTPError, for example, indicates there's a network problem, whilst other types of errors probably mean you have mistyped the code.
Let's add ...
Read now
Unlock full access