How things work college course/Python journal

< How things work college course

Today I will go through Python as the novice that I am and record my experience.

Python/Introduction_and_Setup

I did not get the three dots here

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

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)
This article is issued from Wikiversity - version of the Thursday, April 02, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.