0% found this document useful (0 votes)
54 views40 pages

INTERN

The document provides information about an internship completed by Soham Bharatbhai Mistry at Agile InfoWays. It includes details like the company profile, joining letter, tasks completed each day during the internship period, and an acknowledgement. The internship focused on learning Python programming concepts like operators, flow control, patterns, files handling, functions etc. and implementing various programs and demos.

Uploaded by

Mistry Soham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views40 pages

INTERN

The document provides information about an internship completed by Soham Bharatbhai Mistry at Agile InfoWays. It includes details like the company profile, joining letter, tasks completed each day during the internship period, and an acknowledgement. The internship focused on learning Python programming concepts like operators, flow control, patterns, files handling, functions etc. and implementing various programs and demos.

Uploaded by

Mistry Soham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 40

SOHAM B MISTRY

GUJARATTECHNOLOGICALUNIVERSITY
Academicyear
(2022-2023)

N.G.PATEL POLYTECHNIC
INTERNSHIP REPORT
UNDERSUBJECTOF

SUMMERINTERNSHIP(3170001)
D.E.SEMESTER-III
BRANCH:- ComputerScience and Engineering

Submitted by :-
SOHAM BHARATBHAI MISTRY

CompanyProfile
SOHAM B MISTRY

CompanyName: AGILE INFOWAYS


Address: AbhishreeAvenue, 303-
304, Near, Surendra Mangaldas Rd,
Nehru Nagar,
Ahmedabad,Gujarat380015
ContactNo:  076220 81234
EmailId:[email protected]
m

About Us

AtAgile,weseeInnovationasacleardifferentiator.Innovation,alongwithfocusondeep,lon g-
lastingclientrelationshipsandstrongdomainexpertise,driveseveryfacetofourday-
todayoperations.

agile infoways was founded with a vision to address growing businesses' needs
ofreducingthetimetomarketandcosteffectivenessrequiredtodevelopandmaintainuniqueandc
ustomized web and mobile solutions. We are uniquely and strategically positioned to
partnerwithstartupsandleadingbrandstohelpthemexpandtheirbusinessandofferthemosteffe
ctiveand cost-efficientsolutionsthatproviderevenuesandvaluetotheirbusiness needs.

Vision
TobecomethemosttrustedandpreferredoffshoreITsolutionspartnerforStartups,SMBsandEnte
rprises through innovation and technology leadership. Understanding your ambitiousvision,
honing in on its essence, creating a design strategy, and knowing how to technicallyexecute
it is what we do best. Our promise? The integrity of your vision will be maintained andwe'll
enhance it to best reach your target customers. With our primary focus on creatingamazing
user experiences, we'll help you understand the tradeoffs, prioritize features,
anddistillvaluablefunctionality.It'sanart formwecareabout gettingright.
SOHAM B MISTRY

JoiningLetter

CompletionCertificate
SOHAM B MISTRY
ACKNOWLEDGEMENT

Iwould liketo expressmydeepestgratitude to allthose who provided


methepossibilitytothe completion of the internship. A special gratitude of
thanks I give to our AssitantProfessor, Prof. Shweta Rajput, whose
contribution in stimulating suggestions andencouragement,helpedme to
coordinate theinternship especiallyin draftingthis report.

Furthermore, I would also like to acknowledge with much appreciation the


crucial role of theHead of Department, Dr. Avani Vasant, who gave the
permission to use all requiredequipment and the necessary material to fulfil the
task. Last but not the least, many thanks goto the teachers and my friends and
families who have invested their full effort in guiding us inachievingthegoal.

Also I appreciate the guidance given by the developer at BrainyBeam, Mr Raj


as well as thepanels especially for the internship that has advised me and gave
guidance at every momentofthe internship.

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.

1|Page
|||DAY –1

 What is python ?
• Python is a computer programming language .
• Python is general purpose language.
• Python is high level programming language.

• Python is object oriented programming language.

 What can python do ?


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

 Popular Websites Built Using Python


• Instagram currently features the world’s largest deployment of the Django web
framework, which is written entirely in Python.
• Spotify: Around 80% of these services are written in Python.
• Netflix have the freedom to choose the technologies best suited for the job.
developers turn to Python due to its rich batteries-included standard library,
succinct and clean yet expressive syntax, large developer community, and the
wealth of third party libraries one can tap into to solve a given problem.
• Uber

2|Page
• Dropbox
• Pinterest
• Instacart
• Reddit

 Why python ?
• Work on different platform
• Has simple syntax to English language
• Has syntax that allows developer to write programs with fewer line than some other
programs
• Python runs on an interpreter system, meaning that code can be executed as soon as
it is written.
• open source

 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

 PYTHON PROGRAM – 1
 Code and Output

3|Page
|||DAY –2 SUNDAY

|||DAY –3
 What is Python Operators ?
• Operators are used to perform operations on variables and values.
• In the example below, we use the + operator to add together two values:
 Example :-
print (10 + 5)

 Python divides the operators in the following groups:


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

4|Page
5|Page
Logical operators

Identity operators

Membership operators

6|Page
Bitwise Operators

|||DAY –4
 Python Flow Control

 If Statement o An "if statement" is written by using the if keyword.

OUTPUT AND CODE :-

7|Page
 Elif Statement
The elif keyword is pythons way of saying "if the previous conditions were not
true, then try this condition".

OUTPUT AND CODE :-

 Else Statement
The else keyword catches anything which isn't caught by the preceding
conditions.
OUTPUT AND CODE :-

8|Page
 Nested If statement
• You can have if statement inside if statement ,this is called nested if statement.
OUTPUT AND CODE :-

 Odd and even number program


OUTPUT AND CODE :-

|||DAY –5
Calculator Demo

OUTPUT AND CODE :-


9|Page
Pattern programs :-

 Pattern 1 :-

 Pattern 2 :-

10|Page
 Pattern 3 :-

 Pattern 4 :-

11|Page
 Pattern 5 :-

|||DAY –6
 Pattern 6 :-

12|Page
 Pattern 7 :-

 Pattern 8 :-

13|Page
 Pattern 9 :-

|||DAY –7
Category Task

OUTPUT AND CODE :-

14|Page
Try and Except
OUTPUT AND CODE :-

Lists
Code :-

value= ["A","B","C","D","E","F"]
value1= ["X","Y","Z"]

foriinvalue: print(i)
15|Page
print(value[2])

value.extend(value1) print(value)

value.extend("Python") print(value)

value.append(123) print(value)

value.pop(6)
print(value)

print(value[3:]) print(value[2:10])
print(value[2:10:3]) print(value[-
1])
print(value[-5:-1])

value.reverse()
print(value)

value.clear()
print(value)

# del value
# print(value)

message="#Hello Everyone, Good Afternoon. How Are You?#"


print(message.strip("#")) print(message.lstrip("#"))
print(message.rstrip("#"))

print(message.replace("Afternoon","Evening"))

Output :-

16|Page
|||DAY –8

File Write Demo


OUTPUT AND CODE :-

17|Page
File Read Demo OUTPUT AND CODE :-

>>>f = open("test.txt",'r',encoding = 'utf-8')


>>>f.read(4) # read the first 4 data
'This'

>>>f.read(4) # read the next 4 data


' is '

>>>f.read() # read in the rest till end of file


'my first file\nThis file\ncontains three lines\n'

>>>f.read() # further reading returns empty sting

This is my first file


This file contains
three lines

 Function Demo
OUTPUT AND CODE :-

18|Page
|||DAY –9 SUNDAY

|||
DAY –10
19|Page
What is a function in Python?
• In Python, a function is a group of related statements that performs a
specific task.
• Functions help break our program into smaller and modular chunks. As
our program grows larger and larger, functions make it more organized
and manageable.
• Furthermore, it avoids repetition and makes the code reusable.

 A function definition that consists of the following components

1. Keyword DEF that marks the start of the function header.


2. A function name to uniquely identify the function. Function naming
follows the same Rules of writing identifiers in python.
3. Parameters (arguments) through which we pass values to a function.
They are optional.
4. A colon (:) to mark the end of the function header.
5. Optional documentation string (docstring) to describe what the function
does.
6. One or more valid python statements that make up the function body.
Statements must have the same indentation level (usually 4 spaces).
7. An optional return statement to return a value from the function
• Python Default Arguments
def data(name, msg="Good morning!"): print("Hello", name + ', ' + msg)
data(“rahul")
data(“yaami", "How do you do?")
• Python Arbitrary Arguments def
data(*names):
# names is a tuple with arguments for name in
names: print("Hello", name)

Python Recursion
o Recursion is the process of defining something in terms of itself.
o In Python, we know that a function can call other functions. It is
even possible for the function to call itself. These types of
construct are termed as recursive functions.
20|Page
Lambda
In Python, an anonymous function is a function that is defined without a
name
Example of a Lamda function
def factorial(x): if x == 1:
return 1 else:
return (x * factorial(x-1))
num = 3
print("The factorial of", num, "is", factorial(num))

Install the Django code


Installation instructions are slightly different depending on whether you’re
installing a distribution-specific package, downloading the latest official
release, or fetching the latest development version.

Installing an official release of Django with pip


This is the recommended way to install Django.

1. Install pip. The easiest is to use the standalone pip installer. If your
distribution already has pip installed, you might need to update it if it’s
outdated. If it’s outdated, you’ll know because installation won’t work.

2. T
ake a look at venv. This tool provides isolated Python environments,
21|Page
which are more practical than installing packages systemwide. It also
allows installing packages without administrator privileges. The
contributing tutorial walks through how to create a virtual environment.

3. After you’ve created and activated a virtual environment, enter the


command:

4. $ python -m pip install Django

Started creating Website :-


 Starting project by using command as follow:-

1. django-admin startproject PROJECT_NAME

 Creating Sperusesr as Admin

1. python manage.py createsuperuser

 Database Migration

1. Python manage.py makemmigrations

2. Python manage.py migrate

|||DAY –11
Creating basic userapp and productapp website

 UserApp Contains
1. Login
2. Signup

Code- For Login and signup form


22|Page
Output :- Further code will be added to this

23|Page
 ProductApp Contains
1. Home
2. Product
Code for home and product page :-

24|Page
Output :- Further code will be added to this

25|Page
|||DAY –12

Adding features to UserApp


Code :-

26|Page
Output:-

27|Page
 Adding features to ProductApp
Code :-

28|Page
Output:-

29|Page
|||DAY –13

 Creating CategoryModules and ProductModules


 Code :-

30|Page
 Output :-

31|Page
 Editing home page
 Code :-

32|Page
|||DAY –14
 Finalizing the project
 Signup Page

33|Page
 Sign in Page

 Home Page

 Product Page

34|Page
 Logout page

 Admin Page

35|Page
36|Page

You might also like