Changes

Jump to: navigation, search

OPS435 Online Lab1

1,491 bytes added, 19:21, 12 May 2020
Part I - Interactive (leaning) mode: using the Python Interactive Shell
>>>
</source>
:* Note that when you see the '''>>>''' Python interactive shell prompt, which indicates that the Python Interpreter is listening and waiting to carry out your instruction written in the '''Python language". Try the following commands at the python command prompt, and record their output for future reference:
:** >>> copyright
:** >>> credits
:** >>> license
:** >>> help
:* The output of the last command should tell you how to enter the interactive help, or how to get help on a '''Python Object'''. You should see the following message when entering the interactive help utility:<source>
Welcome to Python 3.6's help utility!
 
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at https://docs.python.org/3.6/tutorial/.
 
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
 
To get a list of available modules, keywords, symbols, or topics, type
"modules", "keywords", "symbols", or "topics". Each module also comes
with a one-line summary of what it does; to list the modules whose name
or summary contain a given string such as "spam", type "modules spam".
 
help>
</source>
:* Please note that the prompt changed from '''>>>''' to '''help>'''. Try the suggestion and feel free to explore the interactive help utility. Simple press the '''Enter''' key to get out of the interactive help utility.
=== Part II - Script (execution) mode: creating Python script ===
1,760
edits

Navigation menu