1. INTRODUCTION TO PYTHON
1.1 INTRODUCTION
Python is a simple, general purpose, high level, and object-oriented programming
language.
Python is a interpreted scripting language.
Python is a trending programming language to develop various applications.
As of 2022, Python continues to be one of the most popular programming languages
worldwide, used extensively in Web development, data science, machine learning,
artificial intelligence, science computing, automation, and more.
The Python Software Foundation (PSF) oversees Python’s development and promotes
its adoption and growth.
1.2 HISTORY
Invented in Netherlands early by Guido Van Rossum.
Python was conceived in late 1980’s and its implementation was started in December
1989.
Guido van Rossum is fan of ‘Monty Python Firing Circus,’ this is a famous TV show in
Netherlands.
Maned after Monty Python.
Open sourced in the year 2012.
Its vibrant community and thriving ecosystem ensure that Python remains relevant and
continues to evolve to meet the needs of developers and industries alike.
1.3 FEATURES
Easy-to-learn – Python has few keywords, simple structures, and a clearly defined
syntax. This allows the student to pick up the language quickly.
Easy-to-read – Python code is more clearly defined and visible to eyes.
Easy-to-maintain – Python’s source code is fairly easy-to-maintain.
A broad standard library – Python’s bulk pf the library is very portable and cross-
platform compatible on UNIX, Windows, and Macintosh.
7
about:blank 1/42
,6/10/24, 12:35 PM Python full stack development summer internship report
Interactive Mode – Python has support for an interactive mode which allows
interactive testing and debugging of snippets of code.
Portable – Python can run on a widely variety of hardware platforms and has the same
interface on all platforms.
Extendable – It can add low-level modules to the Python interpreter. These modules
enable programmers to add to or customize their tools to be more efficient.
Databases – Python provides interfaces to all major commercial databases.
GUI Programming – Python supports GUI applications that can be created and ported
to many system calls, libraries, and windows systems, such as Windows MFC,
Macintosh, and the X Window system of Unix.
Scalable – Python provides a better structure and support for large programs than shell
scripting.
1.4 APPLICATIONS
Web Development
Django – A high-level Python web framework that enables rapid development and
clean, pragmatic design.
Flask – A lightweight web framework that provides the essentials for building web
applications without the complexity of a full-stack framework.
Pyramids – A flexible and minimalist web framework for building small to large-
scale web applications.
Data Science and Analytics
NumPy – A library for numerical computing that provides support for large, multi-
dimensional arrays and matrices.
Pandas – A library for data manipulation and analysis, offering data structures and
functions to efficiently work with structured data.
Matplotlib – A plotting library for creating ststic, interactive, and animated
visualizations in Python.
Scikit-learn – A machine learning library that provides simple and efficient tools for
data mining and analysis.
8
about:blank 2/42
,6/10/24, 12:35 PM Python full stack development summer internship report
about:blank 3/42
, 6/10/24, 12:35 PM Python full stack development summer internship report
1.5 INSTALLATION OF PYTHON
Download: Get the Python installer from the official website.
Run Installer: Execute the installer file.
Customize (Optional): Adjust installation options if needed.
Add to PATH: Check the option to add Python to system PATH.
Complete Installation: Follow the prompts to finish installation.
Verify: Check Python installation using ‘python – version’ in CMD.
Start Using: Access Python via command line with ‘python,’ or create and run Python
scripts.
Fig 1 showing the official website of python.
Download Python Installer --- https://www.python.org/.
Fig 1. Official website Python
10
about:blank 4/42