Page 52 - Information_Practice_Fliipbook_Class11
P. 52
Finally, two more details about the Python Shell:
● To repeat the previous command: Press Alt+P
● To repeat an earlier command, move the cursor to that command and click the mouse button. Now the command
will appear as the current command, which can be executed, possibly after making some changes.
Press Alt+P to repeat the previous command in the Python Shell.
2.6 Exiting Python IDE
Once we are done with our job, you may follow any of the following methods to exit IDLE:
● Type quit() or exit() commands on the prompt in the Python Shell. IDLE will respond as shown in Fig 2.10. Just click
on the OK button and IDLE session will come to an end.
Fig 2.10: Closing an IDLE window
● Press Alt+F4 keys to close the IDLE window.
Answer in one word:
1. Python mode to save the instructions.
2. Shortcut key for running a program.
3. The symbol for Python Prompt.
Let's Summarise
Ø A program is a sequence of instructions to perform a particular task.
Ø A program written in any high-level programming language is called source code.
Ø A compiler transforms the source code into equivalent code in the computer's machine language. The machine
language code so generated is called object code. Thus, in the case of a compiled language, the entire source
program (source code) is transformed into machine language object code in one go.
Ø In the case of an interpreted language, the source code is transformed into the object code, statement by
statement.
Ø Python is a simple, versatile, and powerful programming language.
Ø Python is an open-source language, available free of charge.
Ø Python is an interpreted, object-oriented language.
Ø Python is a platform-independent language.
Ø Python is platform-independent, and Python code is portable.Python has a vast library of built-in functions.
Ø Python is a dynamic and case-sensitive language.
Ø Python supports creating GUI (Graphical User Interface) applications for desktop, web, and mobile devices.
38 Touchpad Informatics Practices-XI

