Ashhhinternship 123
Ashhhinternship 123
Table of Contents
Sl. No Chapter Topic Page no.
1. Chapter 1 Introduction 6
3. Chapter 3 Outcome
(Module Wise/Week Wise)
5. Chapter 5 Conclusion
1
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
CHAPTER 1:
INTRODUCTION
2
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
As a component of BE program, the internship of three weeks was carried out within the company ‘InfiData
Technologies’.
Infidata Technologies is an ISO certified IT company, accredited by an International Accreditation Service (IAS).
The company is headquartered in Bengaluru. It started in the year 2015. The company is highly specialized in the
design and development of websites, software application development, mobile app development, E-Commerce
solutions and more. The team of expert professionals work on the latest software tools and technologies to give
the best and promising services to their customers.
They are equipped with a state-of-artwork station for software application development.
At InfiData , training courses are designed and conducted by professional trainers with years of experience of
working in MNCs, aiming to provide strong technical skills and practical knowledge to focus more on skill-
development required for placements and career growth.
Their aim is to continually improve themselves as per today’s technology to provide quality software services to
their customers. Their committed team is responsible for delivering the best service within the sector.
• Java: As one of the most popular and widely accepted programming languages, learning Java is a valuable
skill set to any developer.
• Python: Python is a general-purpose programming language. The use of python in various fields has made
it so popular.
• ML & AI: Machine Learning & Artificial Intelligence: Computer algorithms that improve automatically
through experience.
• Internet Of Things(IOT): A system of interrelated computing devices, mechanical and digital machines
with ability to transfer data over a network.
• Web Development: Web development is the work involved in developing a website (static or Dynamic)
for the Internet or an intranet
C Programming: Everything from microcontrollers to OS is written in C since it's very flexible and versatile,
allowing maximum control with minimal commands.
3
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
The course chosen for the internship is Python Application Development. Python is a general-purpose language.
It has a wide range of applications from Web development to scientific and mathematical computing to desktop
graphical user Interface. The syntax is clean, and the code length is short. It's fun to work in Python because it
allows you to think about the problem rather than focusing on syntax.
Python is often used as a support language for software developers, for build control and management, testing,
and in many other ways. SCons for build control. Buildbot and Apache Gump for automated continuous
compilation and testing. Roundup or Trac for bug tracking and project management.
2) Data science
3) Scripting
4) Database programming
5) Quick prototyping
Python is good for all forms of programming, which makes its user base grow rapidly. Cross-platform shell
scripting, quick automation, simple web development, data analysis and visualization, AI and ML are some of
the examples.
4
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Features of Python
Easy to code: Python is a high level programming language as it is easy to comprehend as compared to other
language like c, c#, Java script, Java and so forth, one can effortlessly learn and code in python barely in hours.
Additionally, it is also a developer-friendly language.
Platform Independent: Python programs can be developed and executed on numerous operating system
framework. Python can be used on Linux, Windows, Macintosh, Solaris and some others.
Object-Oriented Language: Python bolsters object oriented language and concepts of classes, objects
encapsulation etc.
Free and Open Source: Python language is freely available at the official website. Since, it is open-source,
available to the public. So one can download it, use it as well as share it.
GUI Programming Support: Graphical Users interfaces can be made using a module such as PyQt5, PyQt4,
wxPython or Tk in python.
High-level Language: Python is a high-level language. When one develops programs in python, he/she did not
need to memorize the system architecture or to manage the memory.
Portable language: Python is a portable language, for instance, on the off chance that the code written in python
for windows can also run on different other platforms such as Linux, Unix and Mac etc.
Integrated and Interpreted Language: Python is an Interpreted Language, since python code is executed line by
line at a time. Python is additionally an Integrated language since one can without much of a stretch, can integrate
python with another language like C, C++ and so on.
5
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
CHAPTER 2:
KNOWLEDGE ACQUIRED (Week Wise)
6
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Week 1
USN 1BY21CS118
Email(Official) [email protected]
Day 1 : 11.10.2022
Brief explanation about the Activity Features of python, Advantages of python over other
delivered programming languages
Day 2 : 12.10.2022
Brief explanation about the Activity Demo on print, input, output, read and basic python
delivered programs like calculation of area/volume, sum and
difference of two values.
7
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Day 3 : 13.10.2022
Brief explanation about the Activity Arithmetic operations, programs on finding area/volume
delivered of geometric shapes, program to generate shopping bill,
program to calculate weight on other planets.
Day 4 : 14.10.2022
Brief explanation about the Activity If statement, else-if statement, for and while loop,
delivered programs to understand break and continue functions
Day 5 : 15.10.2022
Brief explanation about the Activity Program to calculate salary of employees, Tax
delivered calculation , value assignment, Program to generate a
quiz, Program to generate Gender game.
8
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Week 2
USN 1BY21CS118
Email(Official) [email protected]
Day 6 : 17.10.2022
Brief explanation about the Activity User defined functions - functions without argument
delivered and without return type, functions with argument and
without return type, functions without argument and
with return type, functions with argument and with
return type, Program on bus fare calculation using
user defined functions.
Day 7 : 18.10.2022
9
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Brief explanation about the Activity Programs to calculate area/volume of geometric
delivered shapes using user defined functions, Bank account
program - creating a bank
account/deposition/withdrawal, program to calculate
student marks, program to compute factorial and
maximum of given numbers, odd/even program using
user defined functions
Day 8 : 19.10.2022
Brief explanation about the Activity Understanding list in python : list creation , accessing
delivered elements of the list, add elements , insert , extend ,
delete , multidimensional list , remove and pop
functions of list , list comprehension , mutable/non-
mutable , programs on list.
Day 9 : 20.10.2022
Brief explanation about the Activity Understanding Tuple in Python - tuple : creation,
delivered accessing elements, deleting , slicing, tuple
operations, built-in functions, concatenation, type
casting, programs related to tuple
Day 10 : 21.10.2022
10
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
dictionary functions, comprehension, membership,
iterations , programs on dictionary
Week 3
USN 1BY21CS118
Email(Official) [email protected]
Day 11 : 24.10.2022
Brief explanation about the Activity Understanding Sets in Python - set : creation,
delivered accessing elements, modify, remove, pop, clear, set
operation, membership, iterations, set built in
functions, frozenset , programs on set
Day 12 : 25.10.2022
11
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Name of the coordinator Mrs. Durga Bhavani A
Brief explanation about the Activity Exception syntax, demo on exception, multiple
delivered except, exception raise, exception try else, exception
try else, exception finally.
Day 13 : 27.10.2022
Brief explanation about the Activity Creating Graphical User Interface with Tkinter ,
delivered Entry Get Text
Day 14 : 28.10.2022
Brief explanation about the Activity Creating a GUI with an entry get text to display the
delivered details of the employee name mentioned in the entry.
Day 15 : 29.10.2022
Brief explanation about the Activity Python Tkinter : Adding images to the GUI , GUI for
delivered the bus fare calculation
12
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Chapter 3:
OUTCOME (WEEK-WISE)
13
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
WEEK 1:
• Made few basic programs in python for basic arithmetic calculations, find area and volume
• Learnt break statements, continue statement, and made a few fun programs using if statements
• Learnt how to define and call a function and made some programs using functions
WEEK 2 :
14
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
WEEK 3:
• Learnt about error handling in python
• Learnt how to locate a bug inside a python code using try: command
• Learnt the importance of expect: command to find the bug easily.
• Did small projects and a major project.
• The major project was to create a Graphical User Interface using tkinter module in python
• Made a shopping cart GUI as a main project where we get to choose from 3 categories which contain 3
items each.
• So when we press add to cart, the item should be added to the cart and the total price of the shopping list
should be displayed
• Even adding coupan to get discount on the items is included into the program.
Mini Projects :
1. Gender Game:
15
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
g=input("what is your gender (m or f)")
fn=input("first name : ")
ln=input("last name : ")
age=int(input("age : "))
if(age>20):
print("are you married ",fn," ? (y or n)")
m=input()
if(m=='y'):
if(g=='f'):
print("then shall i call you Mrs.",ln)
else:
print("then shall i call you Mr.",ln)
elif(m=='n'):
if(g=='f'):
print("then shall i call you Ms.",ln)
else:
print("then shall i call you Mr.",ln)
else:
print("shall i call you ",fn,"\t",ln)
2. Quiz game:
16
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
print("Q3) What is the result of 9+6/3? \n 1)5 2)11 3)15/3")
c=int(input())
if(c==2):
print("that’s right!")
score=score+1
else:
print("sorry, the right answer is 11")
print("overall you got ",score," out of 3 correct \n thanks for playing !!")
Per Km charge is 4r
Enter the source : 1. 2. 3. 4.
Choose your destination : 1. 2. 3. 4.
Source = ___
destination = _
Fair = ___
Distance = _
def fair(d,c=4):
f=d*4
print("the total fair is :",f)
while(True):
ch1=int(input("enter your source \n 1:yelahanka 2:rrrnagar 3:malleshwaram 4:indranagar"))
ch2=int(input("enter your destination \n 1:rajajinagar 2:hebbal 3:vijaynagar 4:yeshwantpur"))
if(ch1==1):
print("sorce = yelahanka")
if(ch2==1):
print("destination=rajajinagar")
fair(1)
print("distance=1km")
elif(ch2==2):
print("destination=hebbal")
fair(2)
print("distance=2km")
elif(ch2==3):
17
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
print("destination=vijayanagar")
fair(3)
print("distance=3km")
elif(ch2==4):
print("destination=yeshwantpur")
fair(9)
print("distance=9km")
else:
print("invalid input")
elif(ch1==2):
print("source = rrrnagar")
if(ch2==1):
print("destination=rajajinagar")
fair(4)
print("distance=4km")
elif(ch2==2):
print("destination=hebbal")
fair(5)
print("distance=5km")
elif(ch2==3):
print("destination=vijayanagar")
fair(6)
print("distance=6km")
elif(ch2==4):
print("destination=yeshwantpur")
fair(7)
print("distance=7km")
else:
print("invalid input")
elif(ch1==3):
print("sorce = malleshwaram")
if(ch2==1):
print("destination=rajajinagar")
fair(8)
print("distance=8km")
elif(ch2==2):
print("destination=hebbal")
fair(12)
print("distance=12km")
elif(ch2==3):
print("destination=vijayanagar")
fair(10)
print("distance=10km")
elif(ch2==4):
print("destination=yeshwantpur")
fair(11)
print("distance=11km")
else:
print("invalid input")
18
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
elif(ch1==4):
print("source = indranagar")
if(ch2==1):
print("destination=rajajinagar")
fair(13)
print("distance=13km")
elif(ch2==2):
print("destination=hebbal")
fair(14)
print("distance=14km")
elif(ch2==3):
print("destination=vijayanagar")
fair(8)
print("distance=8km")
elif(ch2==4):
print("destination=yeshwantpur")
fair(8)
print("distance=8km")
else:
print("invalid input")
else:
print("invalid input")
19
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
4. Weight On Other Planets :
21
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Chapter 4 :
22
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
Computer engineers design and develop computer systems and other technological
devices. Computer engineering can be seen in our day to day lives and has a fast impact on
or lifestyles and jobs. Some of the equipment that are in computer engineering are mobile
phones, digital video cameras and audio players, microwave ovens, aircrafts, security alarm
systems, laser equipment and automobiles.
The python language is one such important language which is being used to design various
projects over the course of time. Learning this course is highly relevant to the society. This
knowledge can then be used to design projects by keeping in mind the environment in
which we live.
Another best thing about python language is its versatility; that is, it can be used in many
varieties of environments such as mobile applications, desktop applications, web
development, hardware programming, and many more. The versatility of python makes it
more attractive to use due to its high number of applications. These variety of applications
can be used to make our society and environment a better place for us social animals.
The python language is so flexible that it gives the developer the chance to try something
new. The person who is an expert in python language is not just limited to build similar
kinds of things but can also go on to try to make something different than before. Python
does not restrict developers from developing any sort of application. This kind of freedom
and flexibility by just learning one language is not available in other programming
language.
As a result, one can give various reasons and proofs for the relevance of Python
programming in today’s world and it is our duty to acknowledge it.
23
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
CHAPTER 5 : CONCLUSION
24
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
EMPLOYEE DETAILS :
The program displays the details of employees whose name is entered in the entry box.
25
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
26
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
SHOPPING CART :
27
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
28
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
29
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
30
DEPARTMENT OF CSE, BMSIT&M 2022-2023