Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

A ON Industrial Training On "Python Programming" Taken at

Download as pdf or txt
Download as pdf or txt
You are on page 1of 32

A

REPORT
ON
INDUSTRIAL TRAINING ON
“PYTHON PROGRAMMING”
Taken at

UPFLAIRS PVT LTD


In partial fulfillment of the requirement for the award of degree of
Bachelor of Technology
In
Information Technology

(Session 2023-24)

Duration: From 9th August , 2023 to 23rd August , 2023

Submitted to: Submitted by:


Dr. Santosh Singh NAME : ABHISHEK YADAV
ROLL NO. :22EJCIT002

Department of Information Technology


Jaipur Engineering College & Research Centre, Jaipur
Rajasthan Technical, University
2023-24
INDUSTRIAL TRAINING CERTIFICATE
CERTIFICATE

This is to certify that the report of the training submitted is the outcome of the practical training
done at “Upflairs Private Limited” in “Python Programming” is carried out by“Aajay Kumar
Sharma“ bearing RTU Roll No.: 22EJCIT005 under the guidance and supervision of “ Mr.
Siddhart Singh ” for the award of Degree of Bachelor of Technology (B. Tech.) in
Information Technology from Jaipur Engineering College & Research Centre, Jaipur
(Raj.), India affiliated to Rajasthan Technical University, Kota during the academic year
2023-2024.

To the best of my knowledge the report

i) Embodies the work of the candidate.


ii) Has duly been completed.
iii) Fulfills the requirement of the ordinance relating to the bachelor of technology degree
of the Rajasthan technical University and
iv) Is up to the desired standard for the purpose of which is submitted.

Dr. Smita Agarwal Mr. Piyush Gautam Dr. Santosh Singh

Head of Department Assistant Prof. & T.P.O. Assistant Professor

Information Technology Information Technology Department of ECE

JECRC, Jaipur JECRC, Jaipur JECRC, Jaipur

i
DECLARATION

I hereby declare that the report entitled “Python Programming Course” has been carried out and
submitted by the undersigned to the Jaipur Engineering College & Research Centre, Jaipur
(Rajasthan) in an original work, conducted under the guidance and supervision of Mr. Siddhart
Singh of Upflairs Pvt. Ltd, Jaipur.

The empirical findings in this report are based on the data, which has been collected by me. I
have not reproduced from any report of the University neither of this year nor of any previous
year.

I understand that any such reproducing from an original work by another is liable to be punished
in a way the University authorities’ deed fit.

Mode: online Ajay Kumar Sharma


Date:16-12-23 22EJCIT005

ii
PREFACE

Bachelor of Technology in Information Technology is the Rajasthan Technical University course


(Approved by AICTE) having duration of 4 years. As a prerequisite of the syllabus every student
on this course has to take professional training from any Industry related to the stream for 30
days in order to complete his/her studies successfully. And it is required to submit the project
report on the completion of it.

The main objective of this training is to create awareness regarding the application of theories in
the practical world of Information Technology and to give a practical exposure of the real world
to the student.

I, therefore, submit this project report of this training, which was undertaken Upflairs Pvt. Ltd,
Jaipur. It was a good experience to have training in a Reputed Organization in the Bigdata
Technology in which company stands at international.

I feel great pleasure to present this project report. The report was prepared on the basis of the
study carried out regarding the existing File Tracking System.

iii
ACKNOWLEDGEMENT

“Any serious and lasting achievement or success, one can never achieve without the help,
guidance and co-operation of so many people involved in the work.

It is my pleasant duty to express my profound gratitude and extreme regards and thanks to Mr.
Arpit Agarwal and Dr. V.K. Chandna who gave me an opportunity to take professional
training in Upflairs Pvt. Ltd, Jaipur.

I am indebted towards Mr. Siddhart Singh who has allotted this project and his precious time
and advice during the training period, which is imminent to the report.

I would like to express deep gratitude to Dr Smita Agrawal, Head of Department (Information
Technology), Jaipur Engineering College & Research Centre, Jaipur (Rajasthan) without whose
permission the training would not be possible. I would also like to thank Dr. Santosh Singh,
Department of Information Technology JECRC, Jaipur who recommended me for this training.

Last but not the least, I am grateful to my beloved parents whose blessings and inspirations are
always with me. I am heartily thankful to those people who are involved directly or indirectly in
this project for encouraging me whenever I needed their help in spite of their busy schedule.

Aajay Kumar Sharma


(22EJCIT005)

iv
COMPANY PROFILE

Upflairs is a for-profit massive open online course provider aimed at professionals and students.
It was founded in 2021 by Siddharth Singh.Upflairs is a online as well as offline learning
platform offering a wide range of and pocket friendly. programs right from Offline Courses,
Industrial training program, certification program, 1-to-1 mentorship and also placement
preparation. These program groom individuals to excel in their career and have a better
perspective towards learning by developing their core skills. Students take courses primarily to
improve job-related skills. Some courses generate credit toward technical certification. Upflairs
has made a special effort to attract corporate trainers seeking to create coursework for employees
of their company.

The headquarters of Upflairs is located in Jaipur, Rajasthan, India.

v
Chapter Index

S. TITLE PAGE NO
No.
Certificate i

Declaration ii

Preface iii

Acknowledgement iv

Company Profile v

1. Introduction 1

1.1 Purpose 1

1.2 Scope 2

1.3 Features 4

2. Technology Name – detailed description 5

2.1 Introduction of GUI 5

2.2 Use of GUI 5

2.3 Introduction of Tkinter 7

2.4 Uses of Tkinter 7

3 Overview of tools used 9

3.1 Variable 9

3.2 Operator 9
S. TITLE PAGE NO
No.
3.3 Basic structure of python 12

3.4 Conditions 12

3.5 Loops 13

4. Project Description 15

4.1 Problem Statement 15

4.2 Project Details 15

4.3 Implementation of project 16

5. Screenshots of Project 17

6. Conclusion 20

7. Future Scope 21

8. References 22
Figure Index

S. No. TITLE PAGE NO


1.1 Features of Python 4

2.1 Arithmetic Operator 9

2.2 Relational Operator 10

2.3 Logical Operator 10

2.4 Bitwise Operator 11

2.5 Assignment Operator 11

2.6 Basic Structure of Python 12

2.7 Conditions 12

2.8 While Loop 13

2.9 For Loop 14

2.10 Project Problem Statement 17

2.11 Project Code Screenshots 18

3.1 Project Output Screenshot 18


20
Chapter 1

INTRODUCTION

About Python

Python is a widely-used general-purpose, high-level programming language. It was initially


designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It was
mainly developed for emphasis on code readability, and its syntax allows programmers to
express concepts in fewer lines of code.

1.1 Purpose

Python, one of the most popular programming languages in the world, has created everything
from Netflix’s recommendation algorithm to the software that controls self-driving cars. Python
is a general-purpose language, which means it’s designed to be used in a range of applications,
including data science, software and web development, automation, and generally getting stuff
done. Python is commonly used for developing websites and software, task automation, data
analysis, and data visualization. Since it’s relatively easy to learn, Python has been adopted by
many non- programmers such as accountants and scientists, for a variety of everyday tasks, like
organizing finances.

“Writing programs is a very creative and rewarding activity,” says University of


Michigan and Coursera instructor Charles R Severance in his book Python for Everybody. “You
can write programs for many reasons, ranging from making your living to solving a difficult
data analysis problem to having fun to helping someone else solve a problem.

■ Accessible—As Python is an interpreted programming language, it saves you time by


skipping code compilation. All your programs can natively run on Windows, Mac, and most
variants of Unix.

■ Robust—Python is a robust programming language and provides an easy usage of the


code lines, maintenance can be handled in a great way, and debugging can be done easily too.
It has gained importance across the globe as computer giant Google has made it one of its
official programming languages.

1
■ Scalable—Python is a programming language known for its far-reaching applicability that
goes beyond web development coding. Python can be a good coding language for new or novice
coders because of its readability and use of the English language.

■ Simple—python allows users to quickly write efficient parallel code.

Because the readability and other structural elements of Python are designed to be easy to
understand, especially for English speakers, it's relatively easy to learn. This is a great first or
second language for beginners.

However, Python is not limited to basic use. It supports some of the most complex websites and
apps in the world.

1.2 Scope

The Future Scope of a Python Developer is very bright. The world is getting digitized. Python
has become the core language as far as the success of these technologies is concerned. Let’s dive
into the technologies which use python as a core element for research, production and further
developments. The future is all about automating processes and utilizing the heaps of data to
make intelligent decisions. This puts to the forefront technologies such as artificial intelligence
(AI), machine and deep learning, Internet of Things (IoT), etc.

Python is a versatile programming language that can be used in a variety of fields, such as
software development, government administration, business, science, arts, education, and others.

According to Naukri.com, there were more than 75,000 open jobs for Python developers in India
at the end of 2022.

Here are a few job roles that you can fill:

• Python developer: This is one of the most direct jobs that you can expect to land
after acquiring this skill. The stats that we shared in the last section clearly tell you
that you will always have open Python developer positions to fill. Here are a few key
responsibilities:
1. Build websites
2. Resolve problems related to data analytics

2
3. Write codes that are both reusable and efficient
4. Optimize data algorithms
5. Implement data protection and security

• Data analyst: This is a very interesting opportunity. It is especially for those who like
working with huge amounts of data and finding meaning in that data. This is again a very
popular job role. There are many companies that are looking for people who can work with the
large sets of data that they have access to. These companies are looking for people skilled in
Python because Pandas, SciPy, and other Python libraries come in very handy in accomplishing
this task. No wonder more and more companies are looking for data analysts with experience in
python to fill open positions.

• Product manager: Product managers have a very important role to play when it comes
to helping businesses to understand the market and why building one product will be better than
building another. They study the market, research for new features related to a particular product
or category, and advocate the building of certain products with facts. Data is a very important
part of the work they do. This is why most companies today are looking for product managers
that are skilled in python.

• Machine learning engineer: If you don’t already know, then let us tell you that the job
postings for this position have increased by more than 330% in the last couple of years. If you
are skilled in python, you will be given preference over other candidates. A machine learning
engineer builds and trains machines, programs, and other computer-based systems to apply
their learned knowledge for making predictions. Python’s ability to work with data automation
and algorithms makes it the ideal programming language that can be used in machine learning

3
1.3 Features

Python is a dynamic, high level, free open source and interpreted programming language. It
supports object-oriented programming as well as procedural oriented programming. In Python,
we don’t need to declare the type of variable because it is a dynamically typed language. Here
are a few key features of python:

Figure 1.1 Features of Python

4
Chapter 2

Technology Name - Detailed Description

2.1 Introduction of GUI


Graphical User Interface (GUI) refers to the visual elements that allow users to interact with
software applications. In Python, Tkinter is a commonly used GUI library. It provides tools for
creating windows, buttons, input fields, and other graphical components. With Tkinter, you can
design user-friendly interfaces by arranging these elements to facilitate user interaction.
Event-driven programming is often employed, where user actions, like button clicks, trigger
specific functions. This results in a dynamic and responsive interface. Tkinter's simplicity and
integration with Python make it accessible for developing diverse GUI applications, from
simple tools to more complex programs with interactive features.

2.2 Uses of GUI

User-Friendly Interaction: GUIs provide an intuitive and visually appealing way for users to

interact with software, reducing the learning curve compared to text-based interfaces.

Enhanced Accessibility: GUIs make software accessible to a broader audience, including those

who may not be comfortable with command-line interfaces, by utilizing graphical elements like

buttons and menus.

Multitasking: GUIs allow users to perform multiple tasks simultaneously through the use of

windows and tabs, enabling efficient multitasking and improving overall productivity.

Rich Graphics: GUIs support the integration of rich graphical elements, such as images and

charts, enhancing the presentation of information and data within applications.

5
Drag-and-Drop Functionality: GUIs often incorporate drag-and-drop features, making it easy

for users to move, copy, or organize files and data within the interface.

Customization: Users can often customize the appearance and layout of GUIs to suit their

preferences, providing a personalized and comfortable working environment.

Interactive Controls: GUIs include interactive controls like buttons, sliders, and checkboxes,

enabling users to easily manipulate settings and input data.

Real-Time Feedback: GUIs provide immediate feedback to user actions, offering a responsive

and dynamic user experience.

Error Handling: GUIs can incorporate visual cues and messages to help users identify and

understand errors, facilitating troubleshooting and improving overall usability.

Integration with Multimedia: GUIs support the integration of multimedia elements, allowing

applications to incorporate audio, video, and other interactive media for a more engaging user

experience.

2.3 Introduction to tkinter

Tkinter is a standard GUI (Graphical User Interface) toolkit for Python, providing a powerful

and user-friendly framework for developing desktop applications. It comes pre-installed with

Python, making it easily accessible for developers. Tkinter leverages the Tk GUI toolkit,

offering a wide range of widgets, such as buttons, entry fields, and labels, to create interactive

interfaces. With its simplicity and versatility, Tkinter is suitable for projects ranging from basic

tools to more complex applications. It follows an event-driven programming paradigm,

responding to user actions, like button clicks, to create dynamic and responsive graphical

interfaces in Python applications.


6
2.4 Uses of tkinter

1. *Desktop Applications:* Tkinter is commonly used for creating desktop applications with

graphical interfaces, ranging from simple utilities to more sophisticated software.

2. *Educational Tools:* Tkinter is employed in educational settings to develop interactive

learning tools and programs, leveraging its ease of use and quick development capabilities.

3. *Prototyping:* Developers use Tkinter for rapid prototyping due to its simplicity and

efficient widget-based design, allowing them to visualize and iterate on interface ideas.

4. *Data Visualization:* Tkinter is suitable for building applications that involve data

visualization, where charts, graphs, and interactive elements enhance the presentation of

information.

5. *Automation Tools:* Tkinter finds utility in creating automation tools with user interfaces,

streamlining repetitive tasks through the integration of buttons and input fields.

6. *Configuration Interfaces:* It is used to design configuration interfaces for applications,

enabling users to customize settings and preferences through a graphical interface.

7. *Game Development:* Tkinter can be applied in simple game development scenarios,

providing a basic framework for creating graphical games with user interaction.
7
Chapter 3
OVERVIEW OF TOOLS USED

3.1Variables

Variables in Python are not “statically typed”. We do not need to declare variables before using
them or declare their type. A variable is created the moment we first assign a value to it.

3.2Operators

Operators are the main building block of any programming language. Operators allow the
programmer to perform different kinds of operations on operands. These operators can be
categorized based upon their different functionality:

● Arithmetic Operators: Arithmetic operators are used to perform mathematical


operations like addition, subtraction, multiplication and division.

Figure 2.1 Arithmetic Operators

8
● Relational Operators: Relational operators compares the values. It either returns True
or False according to the condition.

Figure 2.2 Relational Operators

● Logical Operators: Logical operators perform Logical AND, Logical OR and


Logical NOT operations.

Figure 2.3 Logical Operators

9
● Bitwise Operators: Bitwise operator acts on bits and performs bit by bit
operation.

Figure 2.4 Bitwise Operators

● Assignment operators: Assignment operators are used to assign values to the


variables.

Figure 2.5 Assignment Operators

● Special operators: Special operators are of two types-


o Identity operator that contains is and is not.
o Membership operator that contains in and not in.

10
3.3Basic Structure of Python
• Print (“Hello world”);
Output

Figure 2.6 Basic Structure of Python

3.4Conditions (If/Else statements)

Figure 2.7 Conditions

11
3.5Loops
1. While loop: -
• Python While Loop is used to execute a block of statements repeatedly until a given
condition is satisfied. And when the condition becomes false, the line immediately after
the loop in the program is executed.
• Syntax:
• while expression: statement(s)

Figure 2.8 While Loop


2. For Loop
• A for loop is used for iterating over a sequence (that is either a list, a tuple, a dictionary, a
set, or a string).
• This is less like the for keyword in other programming languages, and works more like an
iterator method as found in other object-orientated programming languages.
• With the for loop, we can execute a set of statements, once for each item in a list, tuple,
set etc.

12
Figure 2.9 For Loop

3. Do While Loop
• Python doesn't have do-while loop. But we can create a program like this.
• The do while loop is used to check condition after executing the statement. It is like
while loop but it is executed at least once.
• General Do While Loop Syntax
• do {
• //statement
• } while (condition);

13
Chapter 4

PROJECT DESCRIPTION

4.1 Problem Statement

The problem statement for developing a GUI calculator in Python involves creating a
user-friendly graphical interface for performing basic arithmetic operations. The objective is
to design and implement a calculator application that enables users to perform addition,
subtraction, multiplication, and division operations with ease. The graphical user interface
(GUI) should consist of a set of buttons representing digits 0-9, as well as buttons for the
basic arithmetic operators (+, -, *, /). The calculator should display both the input expression
and the result in a visually appealing manner. Additionally, the application should handle
user input and provide responsive feedback, ensuring accurate and efficient computation.
The calculator must be capable of handling edge cases, such as division by zero, and include
a clear functionality to reset the input for subsequent calculations. The goal is to deliver a
user-centric and functional GUI calculator that enhances the user experience and simplifies
mathematical computations.
4.2 Project Details

Certainly! Here's a project description for a GUI calculator in Python, outlined in points:

1. **Project Title: Simple GUI Calculator in Python**

2. **Objective:**
- Create a graphical user interface (GUI) calculator using Python.
- Provide a user-friendly interface for basic arithmetic operations.

3. **Features:**
- Addition, subtraction, multiplication, and division operations.
- Clear and delete functionality for correcting input.
- Responsive buttons with a visually appealing design.
- Display area to show input and results.
- Keyboard support for both mouse and keyboard input.

4. **GUI Library:**
14
- Utilize a GUI library such as Tkinter for building the graphical interface.

5. **Main Components:**
- Entry widget for input/output display.
- Buttons for digits (0-9) and arithmetic operations (+, -, *, /).
- Special buttons for clear, delete, and equals.

6. **Functionality:**
- Handle user input for arithmetic operations.
- Update the display area with the input and results.
- Implement error handling for invalid input.

7. **Code Structure:**
- Break the code into modular functions for better readability and maintainability.
- Separate the GUI code from the logic that performs calculations.

8. **Testing:**
- Conduct thorough testing to ensure the calculator handles various input scenarios
correctly.
- Test edge cases, such as division by zero.

9. **Documentation:**
- Include inline comments to explain complex sections of code.
- Write a simple README file explaining how to run the calculator.

10. **User Interface Design:**


- Create an intuitive layout with well-organized buttons.
- Use appropriate fonts, colors, and spacing for a visually appealing design.

15
Chapter 5
Screenshots of Project

Figure 3.1 Project Code Screenshots

16
Figure 3.2 Project Code Screenshots

Figure 3.3Project Code Screenshots

17
Output Of Project

Figure 4.1 Project Output Screenshot

18
CONCLUSION

In conclusion, developing a graphical user interface (GUI) calculator in Python offers a


user-friendly and visually appealing solution for performing mathematical operations. By leveraging
libraries such as Tkinter, developers can create a seamless interaction between the user and the
underlying calculations. The GUI calculator not only enhances the overall user experience but also
provides a more intuitive and accessible platform for individuals who may not be familiar with
command-line interfaces. Through the implementation of buttons, input fields, and other GUI
elements, users can easily input, manipulate, and obtain results for various mathematical tasks.
Additionally, the versatility of Python allows for the incorporation of advanced features, such as
scientific functions or interactive graphs, further expanding the calculator's capabilities. Overall, the
GUI calculator in Python demonstrates the language's adaptability and empowers users with a
practical and engaging tool for everyday mathematical computations.

19
FUTURE SCOPE

1. **Integration with Cloud Services:**


- Future GUI calculators might have the capability to integrate with cloud services for data storage
and synchronization. This could enable users to access their calculations from multiple devices.

2. **Advanced Mathematical Functions:**


- Enhancing the calculator with more advanced mathematical functions, statistical analysis, and
graphing capabilities could be a future direction. This could be particularly useful for students,
scientists, and professionals.

3. **Customization and Themes:**


- Offering users the ability to customize the look and feel of the calculator, including themes and
layouts, could be a trend. Personalization options can enhance the user experience.

4. **Cross-Platform Compatibility:**
- Ensuring the GUI calculator is compatible with various operating systems and devices, including
desktops, tablets, and smartphones, would make it more versatile and accessible to a broader
audience.

5. **User Profiles and History:**


- Implementing user profiles and history tracking features could allow users to save and revisit
their calculations. This could be beneficial for educational purposes or professional work where
record-keeping is essential.

6. **Machine Learning Integration:**


- Future calculators might incorporate machine learning algorithms for predictive analysis or to
provide intelligent suggestions based on user input. This could enhance the calculator's functionality
and utility.

7. **3D Graphing and Visualization:**


- Adding support for 3D graphing and visualization could be a valuable feature for applications in
fields like engineering, physics, and computer-aided design.

8. **Voice and Gesture Recognition:**


- Integrating voice and gesture recognition could provide an alternative input method, making the
calculator more accessible and user-friendly.

9. **Collaborative Features:**
- Collaboration features, such as real-time sharing of calculations or collaborative editing, could be
beneficial for educational and professional settings where teamwork is essential.

20
REFERENCE

[1].W3schools https://www.w3schools.com/python/python_modules.asp
[2].Javatpoint https://www.javatpoint.com/python
[3].Geeksforgeeks https://www.geeksforgeeks.org/python
[4].Python https://www.python.org/

21

You might also like