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

Chapter - 4 Getting Started With Python

Chapter 2 introduces Python as a high-level, easy-to-use programming language developed by Guido van Rossum in 1991. It highlights Python's features, advantages such as platform independence and high productivity, as well as limitations including speed and memory consumption. The chapter also mentions two modes to interact with Python: the Python Shell and Python Editor.

Uploaded by

ctycdzw65m
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 views23 pages

Chapter - 4 Getting Started With Python

Chapter 2 introduces Python as a high-level, easy-to-use programming language developed by Guido van Rossum in 1991. It highlights Python's features, advantages such as platform independence and high productivity, as well as limitations including speed and memory consumption. The chapter also mentions two modes to interact with Python: the Python Shell and Python Editor.

Uploaded by

ctycdzw65m
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

Chapter - 2

Getting Started
with Python
Introduction
Program Set of instructions written in a sequence to
perform a particular task.

The process of writing a program is programming.

A programming language is set of grammatical rules for


instructing a computer or computing device to perform
specific tasks.

e.g. C, C++, COBOL, Java, FORTRAN, Python


Python Programming Language
Python is easy, simple and highly flexible.

It is a high level programming language developed


by Guido van Rossum in 1991 at National Research
Institute for Mathematics, Netherlands.

It is presently owned by Python software Foundation


(PSF).
Features of Python

1. Python is an interpreted, interactive, directly


executed language.

2. It is free open-source software having large


repository of libraries.

3. It is extensible and highly efficient as there is no


wastage of time in declaring variables.
Advantages of Python

1. Platform independent – It can run across different


platforms like windows, Linux, Mac OS and other OS.

2. Easy to use (Readability) – It uses simple, concise


and English like instructions that are easy to read and
understand.

3. High Productivity – It is a simple language with small


codes and extensive libraries. Therefore it offers higher
productivity to programmers as compared to C++
and java.
Advantages of Python

4. Less learning time– Because of simple and shorter


code, lesser time is required to understand and learn
python.

5. Syntax highlighting – It allows to distinguish between


input, output and error message by different colour
codes.

6. Interpreted language – Code execution &


interpretation line by line.
Limitation Of Python
[Link]:
Python is slower than C and C++.However ,Python is a high –level language
and unlike C or c++,does not directly interact with the hardware.
[Link] Development:
Python is not considered a good language for mobile development.
[Link] Consumption:
Python is not a good choice for memory –intensive [Link] to the flexibility
of data types ,Python’s memory consumption is also high.
[Link] Access:
As compared to popular technologies like JDBC(Java Database
Connectivity)and ODBC(Open Database Connectivity),Python’s database
access layer is found to be a bit underdeveloped and [Link] it cannot
be applied in enterprises that need smooth interaction of complex legacy data.
[Link] Errors:
Python Programmers have cited several issues with the design of the
[Link] the language is dynamically typed ,it requires more testing and
has errors that only show up at runtime.
Two modes to interact with Python

(Python Shell)
(Python Editor)
print (“hello”)
print (“Welcome to Python Programming)
EXITING PYTHON

If exit() or quit() does not work, type the following command

You might also like