How things work college course/Python journal
Appearance
Today I will go through Python as the novice that I am and record my experience.
I did not get the three dots here
[edit | edit source]Another important thing to know is that the prompt changes to three periods (...
) if you enter in a command with indentations. Overall, you'll need to be careful not to mistake the prompt for actual Python code.
>>> if True:
... print("Hello, world!")
...
Hello, world!
- I didn't get the three dots here. I assume that is not a problem--Guy vandegrift (discuss • contribs) 22:59, 2 April 2015 (UTC)
Confused about my operating system's shell
[edit | edit source]Before you we go ahead, you should open up the python prompt in your operating system's shell. Simply open up a new shell and type python into it. Congratulations, you now have a working Python interpreter.
- I will have to ask our IT guys about the shell. I am only vaguely aware of DOS commands and never use them.--Guy vandegrift (discuss • contribs) 22:59, 2 April 2015 (UTC)