Student Feedback System Project In Python With Source Code

Student Feedback System Project In Python With Source Code

The Student Feedback System Project In Python was developed using Python Programming, This Student Feedback System In Python is a simple GUI based application which is very easy to understand and use. It uses Tkinter module for the GUI.

Talking about the application, the user just has to enter his/her name, email id and leave comments regarding their services. This is a simple GUI application, that does not create an external file or uses external files as a database to store the data permanently.

A Student Feedback System In Python Using Tkinter design is so simple that the user won’t find any difficulties while working on it. In order to run the project, you must have installed Python and on your PC. This is a simple application system application for beginners.

This Feedback System also includes a downloadable Project With Source Code for free, just find the downloadable source code below and click to start downloading.

By the way if you are new to python programming and you don’t know what would be the the Python IDE to use, I have here a list of Best Python IDE for Windows, Linux, Mac OS that will suit for you. I also have here How to Download and Install Latest Version of Python on Windows.

To start executing Student Feedback System Project In Python, make sure that you have installed Python 3.9 and PyCharm in your computer.

Student Feedback System Project In Python With Source Code : Steps on how to run the project

Time needed: 5 minutes

These are the steps on how to run Student Feedback System Project In Python With Source Code

  • Step 1: Download the given source code below.

    First, download the given source code below and unzip the source code.
    student feedback system download source code

  • Step 2: Import the project to your PyCharm IDE.

    Next, import the source code you’ve download to your PyCharm IDE.
    student feedback system open project

  • Step 3: Run the project.

    last, run the project with the command “py main.py”
    student feedback system run project

Installed Libraries

from tkinter import *
from tkinter import ttk
from tkinter import messagebox

Complete Source Code

from tkinter import *
from tkinter import ttk
from tkinter import messagebox

root = Tk()
frame_header = ttk.Frame(root)
frame_header.pack()
headerlabel = ttk.Label(frame_header, text='STUDENT FEEDBACK SYSTEM', foreground='blue',
                        font=('Arial', 24))
headerlabel.grid(row=0, column=1)
messagelabel = ttk.Label(frame_header,
                         text='PLEASE TELL US WHAT YOU THINK',
                         foreground='green', font=('Arial', 10))
messagelabel.grid(row=1, column=1)

frame_content = ttk.Frame(root)
frame_content.pack()
# def submit():
#     username = entry_name.get()
#     print(username)
myvar = StringVar()
var = StringVar()
# cmnt= StringVar()
namelabel = ttk.Label(frame_content, text='Name')
namelabel.grid(row=0, column=0, padx=5, sticky='sw')
entry_name = ttk.Entry(frame_content, width=18, font=('Arial', 14), textvariable=myvar)
entry_name.grid(row=1, column=0)

emaillabel = ttk.Label(frame_content, text='Email')
emaillabel.grid(row=0, column=1, sticky='sw')
entry_email = ttk.Entry(frame_content, width=18, font=('Arial', 14), textvariable=var)
entry_email.grid(row=1, column=1)

commentlabel = ttk.Label(frame_content, text='Comment', font=('Arial', 10))
commentlabel.grid(row=2, column=0, sticky='sw')
textcomment = Text(frame_content, width=55, height=10)
textcomment.grid(row=3, column=0, columnspan=2)


textcomment.config(wrap ='word')
# def clear():
#     textcomment.delete(1.0,'end')
def clear():
    global entry_name
    global entry_email
    global textcomment
    messagebox.showinfo(title='clear', message='Do you want to clear?')
    entry_name.delete(0, END)
    entry_email.delete(0, END)
    textcomment.delete(1.0, END)


def submit():
    global entry_name
    global entry_email
    global textcomment
    print('Name:{}'.format(myvar.get()))
    print('Email:{}'.format(var.get()))
    print('Comment:{}'.format(textcomment.get(1.0, END)))
    messagebox.showinfo(title='Submit', message='Thank you for your Feedback, Your Comments Submited')
    entry_name.delete(0, END)
    entry_email.delete(0, END)
    textcomment.delete(1.0, END)


submitbutton = ttk.Button(frame_content, text='Submit', command=submit).grid(row=4, column=0, sticky='e')
clearbutton = ttk.Button(frame_content, text='Clear', command=clear).grid(row=4, column=1, sticky='w')

mainloop()

Output

Download Source Code below

Summary

This simple feedback system project is written in Python. The project file contains a python script (main.py). This is a simple GUI based application which is very easy to understand and use. It uses Tkinter module for the GUI. Talking about the application, the user just has to enter his/her name, email id and leave comments regarding their services. This is a simple GUI application, that does not create an external file or uses external files as a database to store the data permanently.

Related Articles

Inquiries

If you have any questions or suggestions about Student Feedback System Project In Python With Source Code, please feel free to leave a comment below.

3 thoughts on “Student Feedback System Project In Python With Source Code”

Leave a Comment