0% found this document useful (0 votes)
6 views7 pages

Getting Started With Python

Uploaded by

sakshyatab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views7 pages

Getting Started With Python

Uploaded by

sakshyatab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

A programming language is used to develop the

programs and softwares. The code written in any


programming language is known as source code
and this source code convert into intermediate code
(Machine code / byte Code / Object Code) to run
on computer. Some examples of programming
languages are.
BASIC, FORTRAN, PASCAL, COBOL, C, C++, Visual
Basic (VB), C#, Java and Python etc.
Every Language has its own characteristic like
Character set and grammar.

Python is modern language for computer


programming. It is High Level, Object Oriented and
Open Source Programming Language. It was
developed by Guido Van Rossum
in 1991 at National Research
Institute for Mathematics-
Netherlands.
:
Python is interpreter based programming Language
It is easy, simple and interactive language
The code is written in simple English like language and easy
to understand.
It is open source and freely available.
It is populated with built in high level data types and
libraries.
It supports OOP (Object Oriented Programming Language)
Concepts.
It supports GUI (Graphical User Interface).
It also provides IDLE (Integrated Development Learning
Environment) to develop large application. IDE mean to
incorporate various applications to develop large application.
Like Python, Web Application, Database etc.
It is Platform Independent because it can run across the
various platforms (operating systems) like windows, Linux,
Unix, Mac, Android etc.
Syntax highlighting language that highlight the syntax of
code and errors occurred in code while design time and run
time of program.
Python is Case Sensitive Language that mean upper case
letters and lower case letters behave differently.
Python can be downloaded freely from it official website. Python is available in many
versions on its website and you can download the latest version also.

Official website: https://www.python.org/downloads/

Open the Downloaded software to procced with installation.


. Click on Close to Complete the Setup

 Write Code/ program in newly opened window. Like


print(“My First Program”)

 Click File-> Save to save the file.

 Click Run-> Run Module (F5) to run the program

 That all for Installation of Python.


Python shell or IDLE provides two types of modes to work in it.

(A) Interactive Mode

(B) Script Mode

(A). Interactive Mode


When the Python IDLE opened in computer then it by default open in
Interactive mode.

The interactive mode display Version of the Python and Version of


window information as shown in below screenshot of IDLE.

Features of Interactive Mode:


 By default Python IDLE opens in Interactive mode.

 The various python commands can directly type, run and


produce output in same window.

 File cannot be created in this mode and hence the


commands will not save in any file.

 As soon as the Python window closed, all the typed


commands and their outputs will cleared and cannot
recover them.

 This mode used for testing of small codes and their


outputs rather than the testing of whole program.
Example:

(B). Script Mode


Script mode provides the following facilities

 Script mode can start by clicking “File-> New File”.

 A script is collection of commands to carry out specific


output.

 A file can be created to save the script permanently.

 The script can save in .py file extension. This file can open
and edit in future for updating it.

 Once the script saved in file, it can run by clicking


command “Run->Run Module (F5)”.

 The output or errors of script, always shown in different


output window.
Example

You might also like