Notes By: Kartik Yadav
, A.I. Python Notes
➢ Python Programming Language is a high-level language created by Guido Van
Rossum in 1989.
➢ Guido Van Rossum wanted to create an interpreter language utilizing the
weekend of the Christmas of 1989, then it turned out to be a full fledge programming
language.
➢ The name of this language was taken as Python as, Guido knew that UNIX/C
hackers were the targets of this language, and also, he liked the series The Monty’s
Python’s Flying Circus, so as the predator to these hackers he kept the name Python.
➢ A general-purpose programming language is a programming language designed
to be used for writing software in the widest variety of application domains.
Python programming domains:
➢ web application development: Python is a majorly used in field of web
development. Big ski web application frameworks in Django, flask, CherryPy and
Bottle.
➢ Data Science & machine learning: Python makes it extremely easy to get started
with readymade libraries and large community support. It has tools and models for
web scraping data cleaning and standard algorithms
Why Should you learn Python:
writing code in Python is so intuitive and easy that you do not feel that it is a lengthy
process some other reasons why we should like learn Python are:
1. Non-restrictive syntax: Python can be easily understood by someone who does not
know programming very well it is readable and intuitive language which lets you focus
on the problem solving and does not involve complicated syntax or structures.
, 2. No declaration you do not need any specifiers for declaration of variables you can
define without mentioning the data type integer etc. there is no need to use an
operator like (;) To mark the end of the statement.
3. Inbuilt OOP support object-oriented programming OOP is already built into Python
language this is a model which can create objects and define relationship between
them. OOP is a bottom-up problem solving technique that provides a high-level
solution to the problem in the beginning and implements it later.
Python helps you to minimize the size of the code that you write in solve it quickly.
4. strong tools in debugging if you are building a product, you know how important it is
to do debugging to ensure quality and reliability of the code Python provides inbuilt
tools such as PDB and PY debug that make the debugging very easy these tools can
pinpoint the exact problem and guide you how to solve it
➢ Python is a high level and object-oriented programming language which has
surpassed the popularity of C# In 2018 and PHP in 2017.
Why Should you learn Python:
writing code in Python is so intuitive and easy that you do not feel that it is a lengthy
process some other reasons why we should like learn Python are:
1. Python uses an elegant syntax making the programs that you write, easier to read
and understand.
2. Python is an easy-to-use language that makes it simple to get your program working
it is ideal for prototype development and other ad hoc programming tasks without
compromising on maintainability
3. Python comes with a large standard library that supports many common
programming tasks such as connectivity to web servers reading and modifying files etc.
4. Python's interactive mode makes it easy to test short snippets of code there is also a
bundled integrated development environment called IDLE.