TOPIC: Introduction To Python: Course
TOPIC: Introduction To Python: Course
PPT SL.NO.: 01 of 38
It is a very simple high level language with vast library of add-on modules.
Python runs on an interpreter system, meaning that code can be executed as soon as
it is written. This means that prototyping can be very quick.
Programs written in Python are easily readable and understandable. It’s Syntax
very simple that’s why Python is said to Beginner's programming Language.
Software development
Mathematics
System scripting
Q. What can Python do?
Intel, Cisco, HP, IBM, etc use Python for hardware testing.
Python3.x
To check if you have python installed on a Windows PC, search in the start
bar for Python or run the following on the Command Line (cmd.exe):
C:\Users\Your Name>python –version
To check if you have python installed on a Linux or Mac, then on linux open
the command line or on Mac open the Terminal and type:
python –version
If you find that you do not have python installed on your computer, then you
can download it for free from the following
website: https://www.python.org/
Working in Python
Before you start working in Python, you need to install Python
on your computer.
OR
Click Start button All Programs Python
(Command Line)
To Work in Interactive Mode
2. It will open Python Shell where you will see the
Python prompt (signs i.e., >>>).
OUTPUT:
Hello World
IPython console
Working in Spyder IDE
Step 5: Script Mode:
To work in script mode, type your command in the editor pane.
(a) To start a new script file, click File New File…
(b) To save current script, use command File Save
Editor Pane
Working in Spyder IDE
Script Mode:
(c) Now you can run by clicking at Run command or press F5.
Thank you!
If you have any query, please contact:
Vinay Kant
Contact no: +91-8393903778
email: [email protected]
www.nielit.gov.in/haridwar