Python Internship Document
Python Internship Document
LTD”
ARRS MULTIPLEX THEATER ROAD, NEW BUS STAND, SALEM – 9.
A In-plant training report submitted to the partial fulfillment of the requirements for the
award of the degree
of
Submitted
by
S.NAVEEN
(REG NO:22BCC1061)
Under the guidance
of
DR.K.BEEMABAI, M.Com.,M.Phil., Ph.D., Assistant Professor
DEPARTMENT OF COMMERCE-CA
Mahendra Arts & Science College (Autonomous)
Affiliated to Periyar University, Recognized u/s 2(f) & 12(b) of the UGC act 1956
NAAC „A‟ Grade / NIRF All India 67 Ranking, Kalippatti (P.O.), Tiruchengode (Tk.), Namakkal
(Dt.), Pin - 637501.
OCTOBER - 2024
CERTIFICATE
requirements for the award of the degree of Bachelor of Commerce in Computer Applications is
report of original work done by S.Naveen (Reg.No.: 22BCC1061) ,under the guidance and
of Commerce CA, Mahendra Arts & Science College (Autonomous), and it has not formed the basis
for the award of any Degree/Diploma/Associateship /Fellowship or similar report to any candidate of
First we would like to thank god with folded hands for his blessings in my attempt to
complete my internship successfully.
We consider it an occasion for extending our thanks to all the faculty members of
Department of Commerce in Computer Applications, for their co-operation and support throughout
the internship.
We are thankful to our family members whose support and affection helped us to bring this
effort to success.
CONTENT
INTRODUCTION
1
OBJECTIVES
2
REPORT OF INTERSHIP
4
PYTHON
5
6 COMPANY HISTORY
FEATURES
8
WEAKNESSES
9
CONCLUSION
10
INTRODUCTION
Interesting fact: Python is named after the comedy television show Monty Python‟s Flying
circus. It is not named after the Python snake.
OBJECTIVES
Internship are generally thought of to be reserved for college students looking to gain
experience in a particular field.
However, a wide array of people can benefit from Training Internship in order to
receive real world experience and develop their skills.
An objective for this position should emphasize the skills students already possess in
the area and their interest in learning more.
Internship is used to allow individuals to perform scientific research. Specifically
designedtoallowpeopletogainfirst-handexperienceworking.Utilizinginternshipsis
agreatwaytobuildyourresumeanddevelopskillsthatcanbeemphasizedinstudents resume
for future jobs.
When they are applying for a Training Internship, make sure to highlight any special
skills or talents.
Internscanstandapartfromtherestoftheapplicantssothattheycanhaveanimproved chance
of landing the position.
Understanding the PYTHON environment.
To understand why Python is a useful scripting language for developers.
1
To learn how to design and program Python applications.
To learn how to use lists, tuples, and dictionaries in Python programs.
To learn how to identify Python object types.
To learn how to use indexing and slicing to access data in Python programs.
To define the structure and components of a Python program.
To learn how to write loops and decision state ments in Python.
To learn how to write functions and pass arguments in Python.
To learn how to build and package Python modules for reusability.
To learn how to read and write files in Python.
To learn how to design object-oriented programs with Python classes.
To learn how to use class in heritance in Python for reusability.
DESCRIPTIONOFTHEINSTITUTION
ORGANIZATIONPROFILE
Who we are?
OptimusTechnocrates(India)Pvt.Ltd.,doSoftwareDevelopment,WebsiteDesigning and
Mobile Application development And Data centre Administration Certification courses, In-
Planttrainings,Workshops,Seminars,FacultyDevelopmentProgramme,RealtimeProject
development and Placement assistance along with Web Hosting and Outsourcing. We
established our Company in the year 2008, Head Office in Chennai and branch offices in
Coimbatore,. Our team consists of Highly proficient and Experienced Managing Director,
Excellent HR Manager, and Qualified Trainers in various streams. We have good Industrial
and teaching exposure and so we transform students and learners to experts.
2
Our Services
Software Development
Web Development
Business Processing Out Sourcing
Conduct off Campus and On Campus Drives in and around Tamil Nadu
Our Vision
Our Mission
“Optimus Techno crates (India) Pvt. Ltd., is a Software Development company
endeavors to be a professional, community spirited and progressive training body, offering
flexible, tailored training and education solutions designed to educate, inspire and motivate
individuals and businesses helping you reach and achieve your goals and aspirations”
SERVICES:
ERP
ERP is short for enterprise resource planning. Enterprise resource planning (ERP) is
business process management software that allows an organization to use a system of
integratedapplicationstomanagethebusinessandautomatemanybackofficefunctionsrelated to
technology, services and human resources. “Optimus Techno crates (India) Pvt. Ltd.,
provides you real time, fully integrated ERP Sys team for your business success and growth.
We promise you the international standard.
CRM
3
OVER VIEW OF INTERNSHIP
4
PYTHON
Python is a high-level, interpreted, interactive and object-oriented scripting language.
Python is designed to be highly readable. It uses english keywords frequently where as other
language use punctuation and it has fewer syntacial construction than other language.
PYTHONISINTERPRETED:Pythonisprocessedatruntimebytheinterpreted.You do
not need to compile your program before executing it. This is similar to PERL and PHP.
PYTHON IN INTERACTIVE: You can actually sit at a python prompt and interact
with the interpreter directly to write your program.
PYTHON IS OBJECT-ORIENTED: Python supports object-oriented style or
technique of programming that encapsulates code within objects.
PYTHON IS A BEGINNER‟S LANGUAGE: Python is a great language for the
beginner-level programmers and supports the development of a wide range of applications
from simple test processing to www browsers to games.
HISTORYOFPYTHON
Python was developed by Guido Van Rossum in the late eighties and early nineties at
the National Research Institute for Mathematics and computer science in the
Netherlands.
Python is derived from many other languages, including ABC, Modula-3, C, C++,
Algal-68, Smart talk, Unix shell, and other script languages.
AI the time when he began implementing python, Guido Van Rossum was also
reading the published scripts from “Monty Python‟s Flying Circus”. (a BBC comedy
series from the seventies in the unlikely case you didn‟t know). It occurrence to him
that he needed a name that was short, unique, and slightly my sterious, so he decided
to call the language python.
Python is now maintained by a core development team at the institute, although
Guido Van Rossum still holds a vital role in directing it progress.
Python1.0wasreleasedan20 February,1994
Python 2.0 was released on 16 October, 2000 and had many major new features,
includingacycledetectinggarbagecollectorandsupportforUnicode.Withthisrelease the
development process was changed and became more transparent and community
backed.
5
Python 3.0 (which early in its development was commonly referred to as python 3000
orpy3k), a major, backwards-incompatible release, was released on 3December,2008
after a long period of testing. Many of its major feature have been back ported to the
backward-compatible python 2.6x and 2.7x version series.
In January 2017 Google announced work on a python 2.7 to go trans compiler, which
the register speculated was in response to python 2ts planned end-of-life.
WHAT AREPYTHON‟S TECHNICALSTRENGTH?
It_s Object-Oriented and Functional
It_s Free
It_s Portable
It_s Powerful
It_s Mixable
It_s Relatively easy to use
PYTHONFEATURES
Python‟s features include
EASY-TO-LEARN: Python has few keywords, simple structure, and a clearly
defined syntax. This allows the students to pick up the language quickly.
EASY-TO-READ: Python code is more clearly defined and visible to the eyes.
EASY-TO-MAINTAIN: Python‟s source code is fairly easy-to-maintain.
ABROADSTANDARDLIBRARY: Python‟s bulk of the library is very portable and
cross-flat form compatible on UNIX, Windows and Macintosh.
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 wide variety of hard ware plat forms and has the
same interface on all platforms.
EXTENDABLE: You can add low-level modules to the python interpreter. These
modulus enables 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
parted to many system call, libraries, and windows systems, such as Windows MTC,
Macintosh and the X Window system of UNIX.
6
SCALABLE: Python provides a better structure and support for large programs that
shell scripting.
ADVANTAGESOFPYTHON
Presence of third-party modules.
Extensive support libraries (Num Py for numerical calculations, Pandas for data
analytics, etc.)
Open source and large active community base.
Versatile, Easy to read, learn and write.
User-friendly data structure.
High-level languages.
Object-Oriented and Procedural programming language.
Portable and Interactive.
Portable across operating systems
DISADVANTAGEOFPYTHON
Poor Memory Efficient.
Slow speed.
Data base Access.
Weak in Mobile Computing.
Runtime Errors.
Design Restriction.
Speed Limitations.
USESOFPYTHON
AI and Machine Learning
Data Analysis
Data Visualisation
Programming Applications
Web Development
Game Development
Language development
Finance
Design
7
UNDERSTANDINGTHEPYTHONENVIRONMENT
PROGRAMMINGBASICS
SOURCE CODE
SYNTAX
These to furls that defines how a python program will be written and interpreted.
8
OUTPUT
The print () function prints the specified message to the screen, or other standard
output device. The message can be a string, or any other object, the object will be converted
into a string before written to the screen.
CONSOLE
The console appears as a tool window every time you choose the corresponding
command on the tool menu.
In the context of python, a compiler is a software tool that translates python code
written in high-level human-readable form into low-level machine code or byte code that can
be executed directly by a computer.
THEPYTHONINTERPRETER
Example:1
>>>4+7
11
>>>4<1
True
>>>„printme‟
„print me‟
>>>Print‟HelloWorld‟
Hello World
>>>
9
EXPRESSION
Example:2
X=x+10
In this expression, the first 10 is added to the variable. After the addition is performed,
the result is assigned to the variable x.
Program:
x=40
X=x+30
Print(X)
Output:
70
ARITHMETICOPERATORS
10
https//:www.python arithmetic operator
Example: 3
a= 7
b=2
Print („Subtraction: „, a – b)
Print („Division: „, a / b)
(„Power: „, a ** b) Output:
Sum: 9
Subtraction: 5
Multiplication: 14
11
Division: 3.5
Floor Division: 3
Modulo: 1
Power: 49
INTEGERDIVISION
The % (integer divide) operator divides two numbers and returns the integer part of
the result. The result returned is defined to be that which would result from repeatedly
subtracting the divisor from the dividend while the dividend is larger than the divisor.
MATHCOMMANDS
COMMANDNAME DESCRIPTION
Abs (value) absolute
Ceil (value) Round sup
Cos (value) Cos in radians
Floor (value) rounds down
Log (value) Log base
log10 (value) Log base10
Max (value1,value2) Large of two values
Min (value1,value2) Small of two values
Nearest whole
Round (value)
number
Sin (value) sine in radians
Sqrt (value) square root
12
FLOATINGPOINT
Floatisafunctionorreusablecodeinthepythonprogramminglanguagethatconverts values
into floating point numbers. Floating point numbers are decimal values or fractional numbers
like 133.5, 2897.11 and 367.89, whereas real numbers like 56, 2 and 33 are called integers.
VARIABLES
Rules:
ASSIGNMENTOPERATOR
The assignment operator denoted by the “=” symbol, is the operator that is used to
assign values to variables in python. (eg: The line x=1 takes the known value 1, and assigns
that value to the variable with name “x”.)
13
PRINT
Theprint()functionprintsthespecifiedmessagetothescreen,orotherstandardoutput
device. The message can be a string, or any other object, the object will be converted into a
string before written to the screen.
INPUT
Example:4
>>> name
„Sowmiya‟
REPETITION(LOOPS)ANDSELECTION(IF/ELSE)
FOR LOOP
A for loop in python is a control flow statement that is used to repeatedly execute a
groupofstatementsaslongastheconditionissatisfied.Suchatypeofstatementisalsoknown as an
iterative statement.
Example:5
forxin“SOWMI”
print (x)
Output:
14
RANGE
The range () function returns a sequence of numbers, starting from 0 by default, and
increments by 1 (by default), and stops before a specified number.
Syntax:
Range (start,stop,step)
PARAMETERVALUES
PARAMETER DESCRIPTION
Optional. An integer number specifying at which position to start.
Start
Defaultis0.
Required. An integer number specifying at which position to stop
Stop
(not included)
Optional. An integer number specifying the incrimination.
Step
Defaultis1.
Example:6
#createasequenceofnumbersfrom0to4
numbers = range(5)
#iteratingthroughthesequenceofnumbers for
I in numbers:
print(i)
Output:
15
CUMMULATIVELOOPS
Some loops incrementally compute a value that is initialized outside the loop.This is
sometimes called a cumulative sum.
FACTORIAL:
Notmanypeopleknow,butpythonoffersadirectfunctionthatcancomputethefactorial of a
number without writing the whole code for computing factorial.
Example:7
num= 5
factorial=2 if
num< 0:
elif num == 0:
print(“Thefactorialof0is1”) else:
for I in range(1,num+1):
factorial=factorial*i
Output:
Thefactorialof5is 240
IFSTATEMENT
Syntax:
if condition
statements
16
Example:8
U =10, V=20
ifU>V:
print(UisgreaterthanV”)
Output:
VisgreaterthanU
IF-ELSESTATEMENT
The if-else statement is used to execute both true part and the false part of a given
condition. If the condition is true, the if block code is executed and if the condition is false,
the else block code is executed.
Syntax:
if condition:
statements
else:
statements
Example:9
U=57, V=57
If V>U:
if-else U==V:
Output:
17
MULTIPLE CONDITION CAN BE CHAINED WITH ELIF(“ELSE IF”)
Syntax:
if condition:
statements
elif condition:
statements
else condition:
statements
Example:10
U =20
V =40
W=10
if((U>VandU>W)and(U!=Vand U!=W)):
print(U,“isthelargest”)
elif((V>UandV>W)and(V!=UandV!=W)):
print(V,“isthelargest”)
elif((W>UandW>V)and(W!=UandW!=V)):
else:
print(“Enterednumbersareequal”)
Output:
40 is the largest
18
WHILE LOOP:
Example:11
i= 1
whilei<2:
print(i)
i += 1
Output:
LOGIC
19
LOOPCONTROLSTATEMENTS
Loop control statement sare used to change the flow of execution. These can be use
dif you wish to skip an iteration or stop the execution. The three types of loop control
statements in python are break statement, continue statement, and pass statement.
NUMBERS: INTEGERS
In python, integers are zero, positive or negative whole numbers without a fractional
part and having unlimited precision.(e.g:0,100, -10.Thefollowingsarevalidintegerliterals
inpython.Integerscanbebinary,octalandhexadecimalvalues.Allintegerliteralsorvariables are
objects of the int class.)
NUMBERS: COMPLEX
The complex data type in python consists of two values, the first one is real part of the
complex number, and the second one is the imaginary part of the complex number. We
usually denote the real part using i and the imaginary part with j. (e.g : (4+3j) or (3i+4j))
Example:12
Z = complex (1,9)
Print(“output:”,Z)
Output:
(1+9j)
20
STRINGLITERALS
Example:13
V= „VIJAY‟
S = “SIVA”
A=„„„ARJUN‟‟‟
print(V)
print(A)
print(A)
Output:
VIJAY
SIVA
ARJUN
TYPESOFDATACOLLECTION
Python has 4 built-in data structures that can be used to hold a collection of objects,
theyarelist,tuple,set,anddictionary.Theycanbedistinguishedintomutable,immutable,set type,
and mappings respectively.
21
LISTS
Lists are ordered mutable sequence that can be changed after they have been created
by adding, removing, or changing objects. Lists can be declared by using square brackets “[]”
following the variable name.
Example:14
prices=[30,60,10,30]
TUPLES
Tuples are ordered immutable sequence that stores multiple items in a single variable,
meaning it cannot be changed after it has been created. A tuple can be created by a pair of
parenthesis and comma-separated objects, following the variable name.
Example:15
Single object tuples are referred to as asing let on. It can be created by using a trailing
comma after the objects, or else python identifies it as a string.
Example:16
type(fruit) type(fruit)
str tuple
Example: 17
letters=„t‟,„u‟,„y‟
type(letters)
tuple
22
SET
Sets are an unordered immutable set of unique objects that do not support duplicated
objects and as such, they cannot be indexed. Mathematical operations such as intersection,
union, difference, and symmetric difference, can be created by using curly brackets following
the variable names or using the set() constructor.
Example:18
letters={„n‟,m‟,„c‟,„s‟}
letters=set((„n‟,„m‟,„c‟, „s‟))
DICTIONARY
A dictionary is an unordered set of key/value pairs. Each unique key has a value
associated with it in the dictionary, and dictionaries can have any number of pairs. The values
associated with a key can be any object. Like sets, dictionaries are unordered.
Example:19
age={“joseph”:20,
“Samantha”: 19,
“trisha”:50,
Print(age)
Output:
{„joseph‟:49,„samantha‟:19,„trisha‟: 50‟}
23
Example:20
Bike={
“brand”:“pulsar”,
“year”: 2020,
“colors”:[“black”, “blue”]
Print(car)
Output:
{„brand‟:„pulsar‟,„year‟:2020,„colors‟:[„black‟, „blue‟]}
Dictionaries are mutable, this allows items to be added or removed even after the
dictionary has been created. However, duplicates are not allowed, as adictionary can not have
multiple items with the same key, because the values will over write and the most recent
value will be returned.
Example:21
Car={
“brand”:“BMW”,
“electric”: false,
“year”: 1964,
“colors”:[“black”,“white”]
“year”: 1970
Print(car)
Output:
{„brand‟:„BMW‟,„electric‟:false,„year‟:1970,„colors‟:[„black‟,„white‟]}
24
STRENGTHS
Easy to learn.
Rich eco system of libraries, esp. for data science and machine learning.
WEAKNESSES
The GIL makes multi threading problematic.
Theimplementationoflambdasiscrippledbyitsrestrictiontoasingleexpression.
The2.7vs3.xriftisproblematic.
25
CONCLUSION
In conclusion, the internship was a useful experience. It helps to enhance and develop
my skills, abilities, and knowledge and meet many new people. Optimums also a good place
to do the internship. Since it provide numerous benefits and advantages to the piratical
trainees.
It also gives me motivation to become a survey or in the future and also taught me
how too where come challenges that If aced during the internship. The essence of internship
to prepare the student for the profession and the more competitive environment ahead of them
as they achieve their goals and dreams. I am glad to finish the internship successfully.
26