Python report
Python report
Academic year
(2022-2023)
KD POLYTECHNIC
INTERNSHIP REPORT
UNDER SUBJECT OF
D.E. SEMESTER-III
Submitted by:
Nai Himanshu
P.
BrainyBeam Technologies was founded with a vision to address growing businesses' needs of
reducing the time to market and cost effectiveness required to develop and maintain unique
and customized web and mobile solutions. We are uniquely and strategically positioned to
partner with startups and leading brands to help them expand their business and offer the most
effective and cost-efficient solutions that provide revenues and value to their business needs.
Vision
To become the most trusted and preferred offshore IT solutions partner for Startups, SMBs and
Enterprises through innovation and technology leadership. Understanding your ambitious
vision, honing in on its essence, creating a design strategy, and knowing how to technically
execute it is what we do best. Our promise? The integrity of your vision will be maintained and
we'll enhance it to best reach your target customers. With our primary focus on creating
amazing user experiences, we'll help you understand the tradeoffs, prioritize features, and
distill valuable functionality. It's an art form we care about getting right.
Joining Letter
Completion Certificate
Nai Himanshu P.
ACKNOWLEDGEMENT
I would like to express my deepest gratitude to all those who provided me the possibility
to the completion of the internship. A special gratitude of thanks I give to our Assitant
Professor, Prof. Shweta Rajput, whose contribution in stimulating suggestions and
encouragement, helped me to coordinate the internship especially in drafting this report.
Furthermore, I would also like to acknowledge with much appreciation the crucial role of the
Head of Department, Dr. Avani Vasant, who gave the permission to use all required
equipment and the necessary material to fulfil the task. Last but not the least, many thanks go
to the teachers and my friends and families who have invested their full effort in guiding us in
achieving the goal.
Also I appreciate the guidance given by the developer at BrainyBeam, Mr Raj as well as the
panels especially for the internship that has advised me and gave guidance at every moment
of the internship.
1|Page
Nai Himanshu P.
Abstract
This web application will be designed for the venders who need to integrate the inventory
as well as product and sells in a single platform. This application is able to manage
product, sells as well as inventory.
2|Page
Nai Himanshu P.
||| DAY - 1
BASIC INTRODUCTION AND PYTHON KNOWLADGE
. DAY1:-Explain about work flow of whole internship. Also discuss
Use Of PythonI learn about python basic knowledge what is a python
what is the use of python what is a future of python and how to install
in computer and how to set part to save python program
What Is Python ?
i. Python is a computer programming language.
ii. Python is general purpose language.
iii. Python is high level programming language.
iv. Phython is object oriented programming language.
3|Page
Nai Himanshu P.
4|Page
Nai Himanshu P.
5|Page
Nai Himanshu P.
||| DAY – 2
O Assignment operators
o Comparison operators
o Logical operators
o Identity operators
o Membership operators
o Bitwise operators
o Arithmetic operators
6|Page
Nai Himanshu P.
➢ ADDITION OUTPUT:-
7|Page
Nai Himanshu P.
➢ SUBTRACTION OUTPUT:-
➢ MULTIPLICATION OUTPUT
➢ DIVISION OUTPUT
8|Page
Nai Himanshu P.
➢ PERFORM TASK:-
9|Page
Nai Himanshu P.
Ill DAY -3
Python Data Structure
• List
• Dictionary
• Tuple
• Set
Range Function in For Loop
for k in range(S):
print ('Hello World!')
AIM Print some pattern using python code.
erainyBeamTechnologies
10 | P a g e
Nai Himanshu P.
6
BrainyBeam
dtL
11 | P a g e
Nai Himanshu P.
.
1.print('Pattern 1
for i in range(5):
for j in range(0, i+l):
print('*', end=") print()
2.print('Pattern 2 : ')
for i in range(5):
for j in range(0, 5-i)
: print('*', end=") print()
3.print('Pattern 3 :
for i in range(4):
for j in range(0, i+l):
print('*', end=")
print()
for k in range(5):
for m in range(0, 5-k):
5.print(Pattern 5 for i in
range(5):
for j in range(0, i+l):
for i in range(4):
for j in range(i + 1): print(' ', end=")
for k in range(2*(3 - i) - 1 ) print('*',
13 | P a g e
Nai Himanshu P.
end=") print()
14 | P a g e
Nai Himanshu P.
15 | P a g e
Nai Himanshu P.
●Program :-
16 | P a g e
Nai Himanshu P.
●OUTPUT :-
17 | P a g e
Nai Himanshu P.
||DAY 5 :--
●SET :-
A set is a data structure that stores unique
elements of the same type in a sorted order. Each
value is a key, which means that we access each
value using the value itself. With arrays, on the
other hand, we access each value by its position in
the container (the index). Accordingly, each value in
a set must be unique
●PROGRAM :-
18 | P a g e
Nai Himanshu P.
●DICTIONARY :-
in Python is an ordered collection of data
values, used to store data values like a map, which, unlike
other Data Types that hold only a single value as an
element, Dictionary holds key:value pair. Key-value is
provided in the dictionary to make it more optimized.
●PROGRAM:-
19 | P a g e
Nai Himanshu P.
●TUPLE :-
20 | P a g e
Nai Himanshu P.
●PROGRAMM :-
||| DAY - 6
Python too supports file handling and allows users to handle files i.e., to
read and write files, along with many other file handling options, to operate on
21 | P a g e
Nai Himanshu P.
files.
1. File Write:
• It opens the file to write only. It overwrites the file if it previously exists
or creates a new one if no file exists with the same name. The file pointer
exists at the beginning of the file.
2. File Read:
• It opens the file to read-only mode. The file pointer exists at the
beginning. The file is by default open in this mode if no access mode is
passed.
3.File Append:
• It opens the file in the append mode. The file pointer exists at the end of
the previously written file if there exists any. It creates a new file if no file exists
with the same name.
23 | P a g e
Nai Himanshu P.
||| DAY - 7
Explain Django in detail and install and work with Django on your device.
What is Django?
24 | P a g e
Nai Himanshu P.
25 | P a g e
Nai Himanshu P.
Step 1:
Visit PyPI · The Python Package Index and search Django on the search bar.
26 | P a g e
Nai Himanshu P.
Step 2: Copy the code and paste it in the Terminal and check if Django is
installed by importing it in python environment which I check through terminal.
27 | P a g e
Nai Himanshu P.
After installing Django, we can go through the steps of creating a new Django project:
1. Run django-admin startproject PROJECT_NAME to create a number of starter files for our
project.
28 | P a g e