Professional Documents
Culture Documents
Industrial Training Report Python 1930331246037
Industrial Training Report Python 1930331246037
AN INDUSTRIAL TRAINING
REPORT
On
The Complete Python Pro Bootcamp
For 2020
TO
Dr. Babasaheb Ambedkar Technological
University
In partial fulfillment of the
requirements for the award of the
degree
Of
Bachelor of Technology
In
Information Technology
Department of Information Technology
Dr. Babasaheb Ambedkar Technological
University, Lonere
2021-2022
Submitted By
Saurabh Jagannath Shirke
(1930331246037)
I
DECLARATION
We undersigned hereby declare that the report on “An INDUSTRIAL TRAINING IN THE
COMPLETE PYTHON PRO BOOTCAMP FOR 2022” submitted for partial fulfillment of the
requirements for the award of degree of B. Tech. of the Dr. Babasaheb Ambedkar Technological
University, Lonere is a bona fide work done by us under supervision of (Prof. S.V.Bharad ). This
submission represents our ideas in our own words and where ideas or words of others have
been include, we have adequately and accurately cited and original sources. We also declare
that we have adhered to ethics of academic honesty and integrity and have not misrepresented
or fabricated any data or idea or fact or source in our submission. We understand that any
violation of the above will be a cause for disciplinary action by the University and can also evoke
penal action from the sources which have thus not been properly cited or from whom proper
permission has not been obtained. This report has not been previously formed the basis for the
award of any degree, diploma or similar title of any other University.
CERTIFICATE
This is to certify that the report entitled “AN INDUSTRIAL TRAINING REPORT ONTHE
COMPLETE PYTHON PRO BOOTCAMP FOR 2022” submitted by Saurabh Jagannath
Shirke (1930331246037) to the Dr. Babasaheb Ambedkar Technological University in
partial fulfillment of the requirements for the award of the Degree of Bachelor of
Technology in Information Technology is a bona fide record of the project work
carried outby him/her under my/our guidance and supervision. This report in any
form has not been by him/her under my/our guidance and supervision. This report
in any form has not been submitted to any other University or Institute for any
purpose.
Examiner (s)
1._____________________
2._____________________
LIST OF CONTENTS
TOPIC
Title Page
Declaration
Certificate
CHAPTER 1. INTRODUCTION
1. Python
2. Scripting Language
3. Object Oriented Programming
4. History of python
5. Behind the Scene of Python
1. Variable
2. String
3. Python Operator
1. Arithmetic Operator
2. Comparison Operator
3. Logical Operator
CHAPTER 6.CONCLUSION
CHAPTER 7.REFERENCES
iv
ACKNOWLEDGEMENT
I take this opportunity to express my gratitude and deep regard to my guide (prof.
S.V.Bharad) for their exemplary guidance, monitoring and constant encouragement
throughout the course of the thesis. The blessings, help and guidance given by him time
to time shall carry me a long way in the journey of life on which I am about to embark.
Ambedkar Technological University for their guidance and constant supervision as well
as for providing necessary information regarding the project and also for their support
Lastly, I would like to thank the almighty my parents for their moral support and friends
with whom I shared my day to day experience and received lots of suggestions that
ABSTRACT
The objective of a practical training is to learn something about industries practically and
to be familiar with a working style of a technical worker to adjust simply according to
industrial environment. This report deals with the equipment their relation and their
general operating Principle.
Python, an interpreted language which was created by Guido van Rossum, and released
in 1991.The language supports both object oriented and procedural oriented approach.
Python is designed to be a highly extensible language. Python works on the principle of
“there is only one obvious way to do a task” rather than “there is more than one way to
solve a particular problem”. Python is very easy to learn and implement. The simpler
syntax, uncomplicated semantics and approach with which python has been developed
makes it very easier to learn. A large number of python implementations and extensions
have been developed since its inception.
Chapter 1
INTRODUCTION
1.1 Python
1
This PDF document was edited with Icecream PDF Editor.
Upgrade to PRO to remove watermark.
Program Scripting
A program is executed. A script is interpreted.
4. History
Chapter 2
DATA TYPES
Data types determine whether an object can do something, or whether it just would not
make sense. Other programming languages often determine whether an operation makes
sense for an object by making sure the object
can never be stored somewhere where the operation will be performed on the object (this
type system is called static typing). Python does not do that.
Instead it stores the type of an object with the object, and checks when the
operation is performed whether that operation makes sense for that object (this is
called dynamic typing).
2.1 Python has many native data types. Here are the important ones:
b) Numbers can be integers (1 and 2), floats (1.1 and 1.2), fractions (1/2 and 2/3).
2. Variables
Variables are nothing but reserved memory locations to store values. This means that
when you create a variable you reserve some space in memory.
Based on the data type of a variable, the interpreter allocates memory and decides what
can be stored in the reserved memory. Therefore, by assigning different data types to
variables, you can store integers, decimals or characters in these variables.
Ex:
counter = 100 # An integer assignment
miles = 1000.0 # A floating point name
= "John" # A string
3. String
In programming terms, we usually call text a string. When you think of a string as a
collection of letters, the term makes sense.
All the letters, numbers, and symbols in this book could be a string.
For that matter, your name could be a string, and so could your address.
6
This PDF document was edited with Icecream PDF Editor.
Upgrade to PRO to remove watermark.
5. Python Operator
1. Arithmetic Operator
Logical Operator
Chapter 3
TUPLES
To access values in tuple, use the square brackets for slicing along with the index or
indices to obtain value available at that index. For example −
tup1 = ('physics', 'chemistry', 1997, 2000);
tup2 = (1, 2, 3, 4, 5, 6, 7 ); print "tup1[0]: ",
tup1[0]
print "tup2[1:5]: ", tup2[1:5]
When the above code is executed, it produces the following result −
tup1[0]: physics
tup2[1:5]: [2, 3, 4, 5]
Tuples respond to the + and * operators much like strings; they mean concatenation and
repetition here too, except that the result is a new tuple,
not a string. In fact, tuples respond to all of the general sequence operations we
used on strings in the prior chapter –
10
LIST
The list is a most versatile datatype available in Python which can be written as a list of
comma-separated values (items) between square brackets. Important thing about a list is
that items in a list need not be of the same type. Creating a list is as simple as putting
different comma-separated values between square brackets. For example −
list1 = ['physics', 'chemistry', 1997, 2000];
list2 = [1, 2, 3, 4, 5 ]; list3 = ["a", "b", "c",
"d"];
Similar to string indices, list indices start at 0, and lists can be sliced,
concatenated and so on.
Output:list1[0]: physics
list2[1:5]: [2, 3, 4, 5]
Chapter 4
LOOPS
4.1 Loops
Programming languages provide various control structures that allow for more
complicated execution paths.
looping requirements.
Example:
For Loop:
>>> for mynum in [1, 2, 3, 4, 5]:
print "Hello", mynum
Hello
1
Hello
2
Hello
3
Hello
4
Hello
5
While Loop:
>>> count = 0
>>> while (count < 4): print
'The count is:', count count =
count + 1
The count is: 0
The count is: 1
The count is: 2
The count is: 3
14
14.3 Statements
Python programming language provides following types of decision making
statements. Click the following links to check their detail.
Statement Description
If statement An if statement is consist of a Boolean
expression followed by one or more
statement
If else statement If else statement can by followed by
optional else statement which executes
when Boolean expression is false
Nested if statement You can use if or if else statement inside
another if or if else statement
Example:
If Statement:
>>> state = “Texas”
>>> if state == “Texas”:
print “TX
TX
If...Else Statement:
>>> if state == “Texas”
print “TX”
else:
print “[inferior state]”
If...Else...If Statement:
>>> if name == “Paige”
print “Hi Paige!”
elif name == “Walker”:
print “Hi Walker!” else:
print “Imposter!”
15
14.4 Function
Function blocks begin with the keyword def followed by the function name and
parentheses ( ( ) ).
Syntex:
def functionname( parameters ):
"function_docstring"
function_suite
return [expression]
Example:
1. def printme( str ):
"This prints a passed string into this function"
print str
return
16
This PDF document was edited with Icecream PDF Editor.
Upgrade to PRO to remove watermark.
14.5 Directories
Another useful data type built into Python is the dictionary (see Mapping Types
— dict). Dictionaries are sometimes found in other languages as “associative memories”
or “associative arrays”. Unlike sequences, which are indexed by a range of numbers,
dictionaries are indexed by keys, which can be any immutable type; strings and numbers
can always be keys. Tuples can be used as keys if they contain only strings, numbers, or
tuples; if a tuple contains any mutable object either directly or indirectly, it cannot be used
as a key. You can’t use lists as keys, since lists can be modified in place using index
assignments, slice assignments, or methods like append() and extend().
It is best to think of a dictionary as an unordered set of key: value pairs, with the
requirement that the keys are unique (within one dictionary). A pair of braces creates an
empty dictionary: {}. Placing a comma-separated list of key: value pairs within the braces
adds initial key: value pairs to the dictionary; this is also the way dictionaries are written
on output.
The main operations on a dictionary are storing a value with some key and extracting the
value given the key. It is also possible to delete a key: value pair with del. If you store
using a key that is already in use, the old value associated with that key is forgotten. It is
an error to extract a value using a non-existent key.
The keys() method of a dictionary object returns a list of all the keys used in the dictionary,
in arbitrary order (if you want it sorted, just apply the sorted()function to it). To check
whether a single key is in the dictionary, use the in keyword.
17
This PDF document was edited with Icecream PDF Editor.
Upgrade to PRO to remove watermark.
Chapter 5
1. Scope of Python
Python programming language, to be the most promising career in
technologies, industry. Opportunities in the career of python are increasing
tremendously in the world. Since Python has simple codes, faster readability
capacity, significant companies are in demand in python language. Python to
be an excellent tool in designing progressive ideas. Candidates interested in
python increases every day.
Today, companies both in India, our lookout for a skilled python developer
for their companies. Knowing python language gives a competitive
advantage when compared to other words. Indian IT companies established
around 2 lakh jobs in 2018, still expecting more developers in python for
their company. Python language becomes more trending since it is
implemented in upcoming technologies such as artificial intelligence,
machine learning.
Companies like Google makes extensive use of Python in its web search system,
employs. Python’s creator. Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and
IBM use Python. For hardware testing. ESRI uses Python as an end-user
customization tool for its popular GI mapping products. The YouTube video sharing
service is largely written in Python.
18
CONCLUSIONS
Practical knowledge means the visualization of the knowledge, which we read in our
books. For this, we perform experiments and get observations. Practical knowledge is very
important in every field. One must be familiar with the problems related to that field so
that he may solve them and become a successful person.
After achieving the proper goal in life, an engineer has to enter in professional life.
According to this life, he has to serve an industry, may be public or private sector or self-
own. For the efficient work in the field, he must be well aware of the practical knowledge
as well as theoretical knowledge.
References
a) Training report.
b)https://www.slideshare.net/.
c) wikipedia.
d ) www.python.org
e )Google group: javatechzone.