0% found this document useful (0 votes)
2 views

Python report

This document is an internship report submitted by Nai Himanshu for a summer internship at BrainyBeam Technologies Pvt. Ltd. It outlines the company's profile, the internship's objectives, and the learning experiences related to Python programming and web application development. The report includes acknowledgments, an abstract of the project, and a detailed account of daily activities and topics covered during the internship.

Uploaded by

harshozaharshoza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Python report

This document is an internship report submitted by Nai Himanshu for a summer internship at BrainyBeam Technologies Pvt. Ltd. It outlines the company's profile, the internship's objectives, and the learning experiences related to Python programming and web application development. The report includes acknowledgments, an abstract of the project, and a detailed account of daily activities and topics covered during the internship.

Uploaded by

harshozaharshoza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 33

GUJARAT TECHNOLOGICAL UNIVERSITY

Academic year
(2022-2023)

KD POLYTECHNIC
INTERNSHIP REPORT

UNDER SUBJECT OF

SUMMER INTERNSHIP (4330001)

D.E. SEMESTER-III

BRANCH - Computer S Engineering

Submitted by:

Nai Himanshu

P.

BrainyBeam Technologies Pvt. Ltd.

Prof. Shweta Rajput Type the


Name of Ext. guide
(Internal Guide) (External
Guide)
Company Profile

Company Name: BrainyBeam Technologies Pvt Ltd


Address: 118, Sukan Mall , Science city road, Ahmedabad
Contact No: +91 9033237336
Email Id : [email protected]
Website: www.brainybeam.com
About Us

At BrainyBeam, we see Innovation as a clear differentiator. Innovation, along with focus on


deep, long-lasting client relationships and strong domain expertise, drives every facet of our
day-to-day operations.

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.

What Can Python Do?

 Create web application


 Create web site
 Create software
 Connect to database system. It can also read and modify
 Handle big data
 Used for data visualization

Features Of Python
1. Easy to code
2. Easy to Read
3. Free and Open-Source
4. Robust Standard Library
5. Interpreted
6. Portable
7. Object-Oriented and Procedure-Oriented
8. Extensible
9. Expressive
10. Support for GUI
11. Dynamically Typed
12. High-level Language
13.Simplify Complex Software Development

3|Page
Nai Himanshu P.

DAY 1:- PRINT MESSAGE USING PYTHON

4|Page
Nai Himanshu P.

• Python installation:- Link :


https://www.python.org/downloads/

5|Page
Nai Himanshu P.

||| DAY – 2

AIM: PYTHON OPERATORS , FLOW CONTROL AND CREAT


CALCULATOR.
➢ Python divides the operators in the following groups:

O Assignment operators
o Comparison operators
o Logical operators
o Identity operators
o Membership operators
o Bitwise operators
o Arithmetic operators

➢. Python Flow Control


.If Statement
.Elif Statement
.Else Statement

6|Page
Nai Himanshu P.

MAKING SIMPLE CALCULATOR USING PYTHON :-


PROGRAM :-

================= OUTPUT :- ===========================

➢ ADDITION OUTPUT:-

7|Page
Nai Himanshu P.

➢ SUBTRACTION OUTPUT:-

➢ MULTIPLICATION OUTPUT

➢ DIVISION OUTPUT

8|Page
Nai Himanshu P.

➢ PERFORM TASK:-

==================== OUTPUT =====================

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):

print('*', end=") print()

4.print('Pattern 4 : ') for i in


range(5):
for s in range(0, 5-i):

print(' ',end=") for p in range(0,


i+l):

print('*', end=") print()

5.print(Pattern 5 for i in
range(5):
for j in range(0, i+l):

print(' ', end=") for k in range(0,


5-i):
12 | P a g e
Nai Himanshu P.

print('*', end=") print()

6.print(Pattern 6 :') for i in


range(5):
for j in range(0, 5-i): print(' ', end=")
for k in range(i+l): print('*' end*")
print() for m in range(5):
for n in range(m+l ): print(' ',
end=") for p in range(0, 5-m):
print('*', end=") print()

7. print('Pattern 7 :') for i in


range(4):
for j in range(3-i):
print(' ', end=") for k in
range(2*i+1): print('*', end=")
print()

8.print('Pattern 8 :') for i in


range(4):
for j in range(i):
print(' ', end=") for k in range(2*(4
print('*', end=") print()

9.print('Pattern 9 :') for i in


range(4):
for j in range(3-i):
print(' ', end=") for k in
range(2*i+1): print('*', end=")
print()

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.

||DAY 4 :- TRY EXCEPTION

● Error in Python can be of two types i.e. Syntax


errors and Exceptions. Errors are the problems in a
program due to which the program will stop the
execution. On the other hand, exceptions are raised
when some internal events occur which changes the
normal flow of the program.

●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 :-

A Tuple is a collection of Python objects separated by commas. In some


ways, a tuple is similar to a list in terms of indexing, nested objects, and

repetition but a tuple is immutable, unlike lists that are mutable.

20 | P a g e
Nai Himanshu P.

●PROGRAMM :-

||| DAY - 6

Explore File Handling in depth.

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.

roes s age = a\ ue2. i-ead 1ine ‹ )


p rin I (me s sage)

message - value3. readlinesf


,‹

Hello Everyone, Good


Evening I am Ishan
22 | P a g e
Nai Himanshu P.

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?

Django is a high-level Python web framework that enables rapid development of


secure and maintainable websites. Built by experienced developers, Django takes care of
much of the hassle of web development, so you can focus on writing your app without
needing to reinvent the wheel. It is free and open source, has a thriving and active
community, great documentation, and many options for free and paid-for support.

Some characteristics of Django are:


● Complete
● Versatile
● Secure
● Scalable
● Maintainable

24 | P a g e
Nai Himanshu P.

Portable Django is an extremely popular and fully featured server-side web


framework, written in Python. This module shows you why Django is one of the most
popular web server frameworks, how to set up a development environment, and how to start
using it to create your own web applications.

25 | P a g e
Nai Himanshu P.

Why Django framework?


● Excellent documentation and high scalability.
● Used by top MNCs and companies, such as Instagram, Spotify,
Youtube, Dropbox etc.
● Easiest framework to learn, rapid development and batteries fully charged.

How to install Django on Ubuntu.

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.

2. Run cd PROJECT_NAME to navigate into your new project’s directory.

28 | P a g e

You might also like