Access over 20 million homework & study documents

search

Module 2 introduction to python programming

Content type
User Generated
Rating
Showing Page:
1/6
Module II: Introduction to Python Programming
Python is a high level, interpreted, interactive, and object-oriented
programming language that is processed by the Python “interpreter” to
produce results. Python includes a comprehensive standard library of tested
code modules that can be easily incorporated into your own programs.
Brief History of Python
The Python language was developed by Guido van Rossum. The design
began in the late 1980s and was first released in February 1991 at the National
Research Institute for Mathematics and Computer Science in the Netherlands.
Python Is derived from many other languages, including C, C++, the Unix shell,
and other programming languages. Today, python is maintained by a core
development team at the institute, although Guido van Rossum still holds a vital
role in directing its progress.
The Python programming language is derived from many other
languages, including ABC, Modula -3, C, C++, Algol-68, SmallTalk, and Unix shell
languages like bash and Korn Shell, and other scripting languages.
The basic philosophy of python language is readability, which makes it
particularly well-suited for beginners in computer programming, and it can be
summarized by these principles:
Beautiful is better than ugly
Explicit is better than implicit
Simple is better than complicated
Readability counts
As python is intended to be highly readable, it uses English keywords
frequently where other languages may use punctuations. Most significantly, it
uses indention to group together statements into code “blocks”, whereas other
languages may use keywords or punctuations for this purpose. For example, in
the Pascal programming language, block start with the keyword begin and
end with the keyword end, and in the C Programming language, blocks are
enclosed within curly brackets ({ } braces). Grouping blocks of statements by
indentation are sometimes criticized by programmers familiar with languages
that group by punctuation but the use of indentation in python certainly
produces code that has an uncluttered visual layout.
Some of Python’s key distinguishing features that make it an attractive
choice of language for the beginner include:
Python is free it is open source distributed software
Python is easy to learn has a simple language syntax
Python is easy to read is uncluttered by punctuation
Python is easy to maintain is modular for simplicity
Python is “batteries included” provides a large standard library for easy
integration into your own programs
Python is interactive has a terminal for debugging and testing snippets
of code

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/6
Python is portable runs on a wide variety of hardware platforms and
has the same interface on all platforms
Python is interpreted there is no compilation required
Python is high-level has automatic memory management
Python is extensible allows the addition of low level modules to the
interpreter for customization
Python is versatile supports both procedure oriented and Object-
Oriented Programming (OOP)
Python is flexible can create console programs, windowed GUI
(Graphical User Interface) applications, and CGI (Common Gateway
Interface) scripts to produce web data.
Features of Python
1. Easy to learn and use Python is easy to learn and use. It is a developer
friendly and high-level programming language.
2. Expressive Language Python language is more expressive, which
means that is is more understandable and readable.
3. Interpreted Language Python language is an interpreted language,
i.e., interpreter executes the code line by line at a time. This makes
debugging easy and thus, it is suitable for beginners.
4. Cross Platform Language Python can run equally on different
platforms, such as windows, Linux, Unix, Macintosh, and etc. So, we can
say that Python is portable language.
5. Free and Open Source Python Language is freely available at the
official web address. The source code is also available.
6. Object Oriented Language Python supports object-oriented
language and concepts of classes and objects come into existence.
7. Extensible it implies that other languages, such as C/C++ ca =n be
used to compile the code and thus, it can be used further in out python
code.
8. Large Standard Library Python has a large and broad library and
provides a rich set of modules and functions for rapid application
development.
9. GUI programming Support graphical User interface can be developed
using Python.
10. Integrated it can be easily integrated with languages like C, C++, Java
and etc.
11. Database Connectivity Python provides a way to integrate with
different database management systems like SQLite, MySQL, Microsoft
SQL Server, PostgreSQL, MongoDB, Apache Cassandra and others.

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/6

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 6 pages?
Access Now
Unformatted Attachment Preview
Module II: Introduction to Python Programming Python is a high – level, interpreted, interactive, and object-oriented programming language that is processed by the Python “interpreter” to produce results. Python includes a comprehensive standard library of tested code modules that can be easily incorporated into your own programs. Brief History of Python The Python language was developed by Guido van Rossum. The design began in the late 1980s and was first released in February 1991 at the National Research Institute for Mathematics and Computer Science in the Netherlands. Python Is derived from many other languages, including C, C++, the Unix shell, and other programming languages. Today, python is maintained by a core development team at the institute, although Guido van Rossum still holds a vital role in directing its progress. The Python programming language is derived from many other languages, including ABC, Modula -3, C, C++, Algol-68, SmallTalk, and Unix shell languages like bash and Korn Shell, and other scripting languages. The basic philosophy of python language is readability, which makes it particularly well-suited for beginners in computer programming, and it can be summarized by these principles: • Beautiful is better than ugly • Explicit is better than implicit • Simple is better than complicated • Readability counts As python is intended to be highly readable, it uses English keywords frequently where other languages may use punctuations. Most si ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Excellent! Definitely coming back for more study materials.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4