PYTHON
SUBMITTED TO:- SUBMITTED By:-
Mr. Hukum Saini Anubhav Dubey
CS Dept. Amit Verma
Satyam Kumar
• What is Python…?
• History of Python.
• Scope of Python.
• What can I do with python?
• Why do people use Python?
• Who uses python ?
What is Python…?
• Python is a general purpose programming language that is
often applied in scripting roles .
• So, Python is programming language as well as scripting
language .
• Python is also called as Interpreted language
History
• Invented in the Netherlands, early 90 s by Guido van
Rossum
• Python was conceived in the late 1980 s and its
implementation was started in December 1989
• Guido Van Rossum is fan of ‘ Monty Python’s Flying
Circus ’, this is a famous TV show in Netherlands
• Named after Monty Python
• Open sourced from the beginning
Scope of Python
• Science
- Bioinformatics
• System Administration
- Unix
- Web logic
- Web sphere
• Web Application Development
- CGI
- J ython – Servlets
• Testing scripts
What can I do with Python…?
• System programming
• Graphical User Interface Programming
• Internet Scripting
• Component Integration
• Database Programming
• Gaming, Images, XML , Robot and more
Why do people use Python…?
The following primary factors cited by Python users
seem to be these:
• Python is object -oriented
Structure supports such concepts as polymorphism,
operation overloading, and multiple inheritance.
.
• It's free (open source)
Downloading and installing Python is free and easy
Source code is easily accessible
• It's powerful
- Dynamic typing
- Built -in types and tools
- Library utilities
- Third party utilities (e.g. Numeric, NumPy , SciPy )
- Automatic memory management
• It's portable
- Python runs virtually every major platform used today
- As long as you have a compatible Python interpreter
installed, Python programs will run in exactly the same
manner, irrespective of platform .
Who uses python today…
• Python is being applied in real revenue-generating products by real
companies. For instance:
• Google makes extensive use of Python in its web search system, and
employs Python’s creator.
• Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and IBM use
Python for hardware testing.
• ESRI uses Python as an end-user customization tool for its popular
GIS mapping products.
The YouTube video sharing service is largely written in Python
PYTHON
TECHNOLOGIES
FLASK
IS
• Flask is a micro-framework for Python
• Easy to code
• Easy to configure
• Flask won’t make many decisions for
you, such as what database to use.
• Has an excellent documentation
• RESTful
• Testable
FLASK IS
• Flask-Admin
• Flask-Cache
• Flask-OpendID
• Flask-Mail
• Flask-
MongoAlchemy
EXTENSIBLE AND KEEPS THE CORE SIMPLE
• Flask-Restless
• Flask-
SQLAlchemy
• Flask-Testing
• Flask-WTF
• Flask-Uploads
VIRTUALENV
Installing
Pip install virtualenv
Configuring
cd ~/YOUR_MAIN_FOLDER
mkdir virtualenvs
cd virtualenvs
virtualenv NAME_YOUR_ENV --no-site-packages
Activating
source NAME_YOUR_ENV/bin/activate
Deactivating
deactivate
THE END