Lect - 1 1
Lect - 1 1
Lect - 1 1
Python Programming
Assistant Professor
School of Computer Science and Engineering
Objectives
• What is Python?
• Why to learn Python
• Applications of Python
• History of Python
• Python Versions
• Installation of Python
What is Python?
• If you know Python nicely, then you have a great career ahead. Here are just a few
of the career options where Python is a key skill:
• Game developer
• Web designer
• Python developer
• Full-stack developer
• Machine learning engineer
• Data scientist
• Data analyst
• Data engineer
• DevOps engineer
• Software engineer
• Many more other roles
Companies
• Python is very high in demand and all the major companies are looking for
great Python Programmers
• Google
• Intel
• NASA
• PayPal
• Facebook
• IBM
• Amazon
• Netflix
• Pinterest
• Uber
History of Python
• Python was developed by Guido van Rossum in the late eighties and early
nineties at the National Research Institute for Mathematics and Computer
Science in the Netherlands.
• Python is derived from many other languages, including ABC, Modula-3, C,
C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.
• Python is copyrighted. Like Perl, Python source code is now available
under the GNU General Public License (GPL).
• Python is now maintained by a core development team at the institute,
although Guido van Rossum still holds a vital role in directing its progress.
Python Versions
Guido Van Rossum published the first version of Python code (Python 0.9.0) at alt.sources in
February 1991. This release included exception handling, functions and the core data types.
● Python 1.0 released in January 1994. It included filters, map, reduce and lambda.
● Python 2.0 released in October 2000. Features include list comprehension and garbage
collection with reference cycles.
● Python 3.0 released in December 2008. This release removed duplicate constructs and modules,
but it was not backward compatible with previous versions..
● Do not panic. The features mentioned above will be discussed in detail in the later sections.
● Python can be used for creating computer applications, computer games or even for testing
microchips.
Program Life Cycle
• If there are any errors in Python code then the system will let you
know so that you can fix them.
Program Errors
• There are two types of errors:
• Syntax errors
• Runtime errors.