0% found this document useful (0 votes)
3 views10 pages

Python Programming 1 10

The document provides an introduction to Python, highlighting its development by Guido van Rossum in 1991 and its features such as simplicity, ease of learning, and extensive libraries. It discusses the two modes of working in Python: Interactive Mode and Script Mode, along with their differences. Additionally, it includes homework questions related to Python's characteristics and functionalities.
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)
3 views10 pages

Python Programming 1 10

The document provides an introduction to Python, highlighting its development by Guido van Rossum in 1991 and its features such as simplicity, ease of learning, and extensive libraries. It discusses the two modes of working in Python: Interactive Mode and Script Mode, along with their differences. Additionally, it includes homework questions related to Python's characteristics and functionalities.
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/ 10

Python

Programming

By - Koustabh Nandi
PAGE 1
INTRODUCTION

FEARTURS

INDEX Working in Python

Difference Between Script Mode and Interactive Mode

Home – Work Questions

KOUSTABH NANDI
PAGE 2
INTRODUCTION TO PYTHON
 Python programming language was developed by GUIDO VAN ROSSUM in FEB 1991.The
programming language was named after famous BBC comedy show namely Monty Python’s
Flying Circus.
 Python is an easy to learn yet powerful Object-Oriented programming Language.
 Nowadays web development and gaming industries working on the python programming
language.

 Koustabh Nandi

PAGE 3
1. Simple:
 Python is simple language. Syntax of python is easy to read
and almost like reading English. This pseudo-code nature of
Python is one of its greatest strengths. It allows you to
concentrate on the solution to the problem rather than the
language itself.

FEATURES  2. Easy to Learn:


 Python has an extraordinarily simple syntax that makes easy
OF to learn and code. Python is capable to code complex

PYTHON problems.
 3. Free and Open Source:
 Python language freely available along with its source-code.
 4. High-level Language:
 Python syntax is English like code and can converted or
interpreted in an intermediary or low-level code. Thus
python is a High level language.

PAGE 4
FEATURES OF PYTHON
 5. Portable:
 Python is platform independent language.
Python has been ported (changed to make it
work on) to many platforms. All your Python
programs can work on any of these platforms
without requiring any changes at all.
 6. Extensive Libraries:
 The Python Standard Library is huge indeed. It
can help you do various things involving regular
expressions, documentation generation, unit
testing, threading, databases, web browsers,
CGI, ftp, email, XML, XML-RPC, HTML WAV files,
cryptography, GUI etc.

PAGE 5
Working in Python
 Once you have python installed on your computer
,you are ready to work on it. you can work in python
in the following different way-
 (a)Interactive Mode(Immediate Mode)
 (b)Script Mode.
 Working in Interactive Mode-Interactive mode of
working means you type the command one
command at a time ,and the python executes the
given command there and then gives you Output. In
interactive Mode, you type the command in front of
python command prompt >>>.example- >>>5+6
 1.Click Start Button -> All programs -> Python 3.6
->IDLE

PAGE 6
INTERACTIVE MODE

PAGE 7
SCRIPT MODE
SAVE WITH EXTENSION CREATE NEW FILE

KOUSTABH NANDI
PAGE 8
Difference Between Script Mode and Interactive Mode

Interactive Mode Script Mode

A way of using the python interpreter by typing A way of using the python interpreter to read and
commands and expressions at the prompt. Execute statements in a script.

Cannot save and edit the code. Can save and edit the code

If we want to experiment with the Code, we can use If we are very clear about the Code, we can use script
interactive mode. mode.

We can see the results immediately We can see the code immediately.

Koustabh Nandi
PAGE 9
Home-work Questions
1.What does a Cross Platform language means ?
2.Python is a free and Open-Source Language. What do you
understand by this feature ?
3.What is The full form of IDLE.

PAGE 10

You might also like