0% found this document useful (0 votes)
30 views30 pages

Ashhhinternship 123

The document discusses a 3-week internship in Python application development at a company called InfiData Technologies. It provides an introduction to the company and overview of courses offered, with a focus on the Python course. It describes the basics of Python including features and uses. It then outlines the knowledge gained each week of the internship which included introductions to Python syntax, programming concepts, and example programs.

Uploaded by

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

Ashhhinternship 123

The document discusses a 3-week internship in Python application development at a company called InfiData Technologies. It provides an introduction to the company and overview of courses offered, with a focus on the Python course. It describes the basics of Python including features and uses. It then outlines the knowledge gained each week of the internship which included introductions to Python syntax, programming concepts, and example programs.

Uploaded by

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

Python Application Development

Table of Contents
Sl. No Chapter Topic Page no.

1. Chapter 1 Introduction 6

2. Chapter 2 Knowledge Acquired


(Module Wise/Week Wise)

3. Chapter 3 Outcome
(Module Wise/Week Wise)

4. Chapter 4 Relevance to society and


Environment

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.

Most popluar courses offered by the company :

• 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

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.

Basically, these are the areas of use Python is perfect for:

1)Web app development

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

Name of the Student ASHRITHA PG

USN 1BY21CS118

Email(Official) [email protected]

Phone Number 8428422901

Date 11.10.2022 to 15.10.2022

Name of the Module Online

Name of the Course Python Application Development

Day 1 : 11.10.2022

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Introduction to python

Brief explanation about the Activity Features of python, Advantages of python over other
delivered programming languages

Day 2 : 12.10.2022

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Introduction to python

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Basic operations in python

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Looping statements

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Python Programs

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

Name of the Student ASHRITHA PG

USN 1BY21CS118

Email(Official) [email protected]

Phone Number 8428422901

Date 17.10.2022 to 22.10.2022

Name of the Module Online

Name of the Offered Department Python Application Development

Day 6 : 17.10.2022

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity User defined functions

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Python programs

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Python List

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Tuple in python

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Dictionary in python

Brief explanation about the Activity Understanding Dictionary in Python - dictionary:


delivered creation , accession elements , modify, remove ,

10
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
dictionary functions, comprehension, membership,
iterations , programs on dictionary

Week 3

Name of the Student ASHRITHA PG

USN 1BY21CS118

Email(Official) [email protected]

Phone Number 8428422901

Date 24.10.2022 to 29.10.2022

Name of the Module Online

Name of the Offered Department Python Application Development

Day 11 : 24.10.2022

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Sets in Python

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

Name of the Activity Exception Handling

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Tkinter

Brief explanation about the Activity Creating Graphical User Interface with Tkinter ,
delivered Entry Get Text

Day 14 : 28.10.2022

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity GUI for accessing employee details

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

Name of the coordinator Mrs. Durga Bhavani A

Name of the Activity Tkinter

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:

• Introduction to python programming

• Learnt Basics of python

• Learnt what is python, where all it is and can be used

• Learnt how to use for loop, while loop, if else statement

• Learnt how to read input from user

• 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

• Wrote programs to find area and volume using functions

WEEK 2 :

• Started DSA topics in python in the week 2


• Learnt about list in python, how to define and how to access the elements
• Understood the methodology of adding elements to the list in with .append() function, deleting element
from the list.
• Learnt about the multidimensional list, how to define and access it
• Learnt about remove() and pop() function in list
• Even learnt the declaration of tuple, how to access it
• Learnt Dictionary, what is keys, what is values in it, and how to access elements using keys
• Performed membership tests using ‘in’ and ‘not in’

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:

print("are you ready for the quiz? \n here it comes!")


print("Q1) what is the capital of alaska ? \n 1) melbourne 2)anchorage 3)juneau")
c=int(input())
score=0
if(c==3):
print("that’s right!")
score=score+1
else:
print("sorry! the right answer is juneau")
print("Q2) can you store the vale 'cat' in a variable of type int \n 1)yes 2)no")
c=int(input())
if(c==2):
print("that’s right!")
score=score+1
else:
print("sorry, 'cat' is a string. ints can only store numbers")

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 !!")

3. Bus fair calculation:

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)

print("welcome to the station")

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 :

w=float(input("please enter your current earth weight"))


print("I have information for the following planets \n 1:venus 2:mars 3:jupiter 4:saturn 5:uranus 6:neptune
7:exit")
while(True):
ch = int(input("which planet are you visiting ?"))
if(ch==1):
pw=w*0.78
print("your weight would be ",pw," pounds on that planet")
elif(ch==2):
pw=w*0.39
print("your weight would be ",pw," pounds on that planet")
elif(ch==3):
pw=w*2.65
print("your weight would be ",pw," pounds on that planet")
elif(ch==4):
pw=w*1.17
print("your weight would be ",pw," pounds on that planet")
20
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development
elif(ch==5):
pw=w*1.05
print("your weight would be ",pw," pounds on that planet")
elif(ch==6):
pw=w*1.23
print("your weight would be ",pw," pounds on that planet")
elif(ch==7):
exit(1)
else:
print("invalid choice")

21
DEPARTMENT OF CSE, BMSIT&M 2022-2023
Python Application Development

Chapter 4 :

RELEVANCE TO THE SOCIETY AND ENVIRONMENT

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.

Python is a high-level, interpreted, interactive and object-oriented scripting language.


Python was designed to be highly readable which uses English keywords frequently
whereas other languages use punctuation and it has fewer syntactical constructions than
other languages. As it uses English keywords, it becomes extremely easy to read the code
and hence becomes easier to locate errors. As its syntax has easier formats, it becomes
easier to learn and confusion based on this can be avoided.

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

The learning of the basics of Python language was successfully completed.


Projects : 1) Employee Details GUI
2) Frontend Design of online shopping cart using Tkinter

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

Displays a message box when the


entered name doesn’t exist ,
saying – “No such employee”

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

Front end design for shopping page :


Using Tkinter , a Graphical User Interface is created for the shopping page. The home page
consists of Window Title, and list of categories along with buttons for each corresponding
category. Each button takes the user to a new window to shop for the category selected.
When the required item is selected , a message box is displayed saying that the item is
added to the card. A home button is provided on each window to return to the main page.
The billing page shows the names of the products added to the cart and the total amount to
be paid. A valid coupon, if available can be applied and the total amount will be reduced
accordingly.

30
DEPARTMENT OF CSE, BMSIT&M 2022-2023

You might also like