Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
43 views

Pythonic Data Entry

This document reports on a Python data entry project created by a group of students. It introduces Tkinter, a Python library for building graphical user interfaces (GUIs). It discusses how to use Tkinter to create a data entry form, connect it to a database, and add validation and error handling. The goal is to explore building a user-friendly data management solution in Python.

Uploaded by

Sakshi Sonavane
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Pythonic Data Entry

This document reports on a Python data entry project created by a group of students. It introduces Tkinter, a Python library for building graphical user interfaces (GUIs). It discusses how to use Tkinter to create a data entry form, connect it to a database, and add validation and error handling. The goal is to explore building a user-friendly data management solution in Python.

Uploaded by

Sakshi Sonavane
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

PROJECT REPORT

On
“PYTHONIC DATA ENTRY”
Submitted in the partial fulfilment for the award of Bachelor of Engineering in
COMPUTER ENGINEERING
At
ATMA MALIK INSTITUTE OF TECHNOLOGY AND
RESEARCH, AGHAI

Submitted to
University of Mumbai,
Mumbai
Prof. Puja Shinde
(Project Guide)
GROUP MEMBERS

• SAKSHI SONAVANE (53)


• TEJAS GUPTA (22)
• SAKSHI PAWAR (44)
• OM VEKHANDE (60)
PYTHONIC DATA ENTRY: A GUI JOURNEY
PROJECT FORMAT
 Introduction
 Python GUI
 Tkinter
 Creating the Form
 Connecting to Database
 Validation and Error Handling
 Conclusion
INTRODUCTION

• Python is a versatile programming language that can


be used for a wide range of applications. One of its
strengths is its ability to work with databases, making
it an ideal choice for creating data entry forms.
• In this presentation, we will explore how to create a
data entry form using Python's Tkinter library and
connect it to a database.
ABOUT PYTHON GUI
Python is an interactive programming which has multiple options for
developing GUI (Graphical User Interface). Some of them are :-
1. Kivy – Linux, Windows, OS X, Android, IOS, Raspberry Pi
2. PyForms – Linux, Windows, OS X
3. Tkinter – Linux, Windows, OS X
ABOUT TKINTER
• Tkinter is the standard GUI library for Python.
• Python when combined with Tkinter provides a fast
and easy way to create GUI applications.
• Tkinter provides a powerful object-oriented interface
to the Tk GUI toolkit.
• It's built in library so no need to install. Just need to
import.
HOW IT WORK ?
1. Tk() - To create a main window, tkinter offers a method Tk()
2. mainloop() - is an infinite loop used to run the application, wait for
an event to occur
and process the event as long as the window is not closed.
WIDGET
Tkinter provides various controls, such as buttons, labels and
text boxes used in a GUI application. There are currently 15
types of widgets in Tkinter.
1. Button 6. Label 11. Radio button
2. Canvas 7. List box 12. Scrollbar
3. Check button 8. Menu button 13. Text
4. Entry9. Menu 14. Top-level
5. Frame 10. Message 15. Photo Image
GEOMETRY CONFIGURATION
Tkinter offers access to the geometric configuration Of the widgets
which can organize the widgets in the parent windows. There are
mainly three geometry manager classes class.
1. pack() - organizes the widgets in blocks
2. grid() - organizes the widgets in grid (table-like structure)
3. place() - organizes the widgets by placing them on specific
position
HOW TO ADD WIDGETS ?
Button (Window, option=value) – Options (active
background, active foreground, bg, command, font, image,
height, width)
CREATING THE FORM

• Once we have a good understanding of


Tkinter, we can start creating our data
entry form. We can use various widgets
such as labels, entry fields, and buttons
to create the form.
• We can also use layout managers like
grid or pack to arrange the widgets in a
visually appealing way.
CONNECTING TO DATABASE

• After creating the form, we need to


connect it to a database so that the
data entered by the user can be
stored and retrieved later. We can
use Python's built-in SQLite module
to create and manage a database.
• Here, Data is stored in Excel
Format
VALIDATION AND ERROR HANDLING

• To ensure that the data entered by the


user is valid and meets certain criteria,
we can add validation checks to the form.
For example, we can check if the user
has entered name or if a required field is
left blank or they accepted terms or not.
• We can also handle errors gracefully by
displaying error messages to the user and
allowing them to correct their input.
CONCLUSION

• In conclusion, creating a data entry form


using Python's Tkinter library and
connecting it to a database is a powerful
way to manage data in a user-friendly way.
• By following the steps outlined in this
presentation, you can create your own data
entry form and customize it to meet your
specific needs.
THANK YOU !!!

You might also like