Lab Ac vity 7 – Python
Topic - Working modes in Python
1. Interac ve mode – for temporary
work. For example
2. Script mode – to create programs
and can be used later a er saving.
Each program file has a extension
.py for example
Some important commands and keyboard shortcut:
Purpose Command/shortcut
1. Create File Menu -> New File
New Python Or
Program file. Ctrl +N
2. Save File -> Save
Ac ve Or
Program Ctrl +S
3. To open File -> Open
exis ng/saved Or
programs Ctrl +O
4. To close File -> close
ac ve Or
program Alt +F4
5. To File ->exit
exit/close the Or
Python Ctrl +Q
6. To run Run Menu -> Run
the typed module
Python Or
Program F5
7. To view Run menu-> Python
the program Shell
output Or
(interac ve Alt +tab
mode)
Write and run following python
program to show your name and
say:
hello guys! Welcome in the world
of Python Programming
Answer with output
Code
Output