Create a GUI Python application

Create a GUI Python application that fulfils the following requirements:

1. Displays a form with a text box (where user should write the name of the excel file to save)and the following 4 buttons (0,2 p):

a. Retrieve data

b. Create the graph

c. Display the matrix

d. Save to Excel file

2. Button 1 will retrieve product names and product prices from a page on a specific e-commerce website allocated to you (0,4 p)

a. Retrieve product names (0,1 p)

b. Retrieve product prices (0,3 p)

3. Button 2 will display a bar chart showing the products and their prices (0,1)

4. Button 3 will display the matrix containing the products and their prices (0,1)

5. Button 4 will save the matrix to an excel file (0,1). The folder where the excel file will besaved must be chosen interactively, using openfiledialog. The name of the file will be theone that the user wrote in the textbox with .xlsx extension (0.1).

All variables must contain your initials in their names.
my initials: iu

My site is : 

the algorithm is:

import tkinter

from selenium import webdriver

from selenium.webdriver.chrome.service importervice

from webdriver_manager.chrome import

hromeDriverManager

1. Visual side of the project

# visual text box

# button – retrieve data

# button – create the graph

# button – display the matrix

# button – save to excel

form = tkinter.Tk(

# instatiate a blank GUI

form.title(“Awesome GUI app”)

00t00form.geometry(“600

label_name=ttkinter.Label(form, text=”Please enterthe name of the new excel file: “)

ext_name = tkinter.Entry(form)

label_name.pack()

text_name.pack()

2. Scrapping of a website for products and pricesef scrape_website():

driver = webdriver.Chrome(service=

ervice(ChromeDriverManager().install()))

driver.implicitly_wait(100)

driver.get(“https://www.asus.

om/ro/store/accessories/”)

products = driver.find_elements(“class name”,”store_content_product ProductCardNormalStore2_productCardContainer_3YjØI ProductCardNormalStore2isWhiteCard_3ijE2 ProductCardNormalStore2_isNew_105EA ProductCardNormalStore2StoreContent_3HXex undefined”)

print(products[1].get_attribute(“innerText”))iterate over the list of products and create aataframe with the products

ef show_graph():

# bring the DF and based on the data frameinvoke a specific method for plotting ex:f.plot(x=”name of column”,y=”naname of the otherolumn”)

print(“test graph”)

button_retrieveieve = tkinterkinter.Button(form,

text=”Re

‘Retrieve data”, comman

mand=scra

rape_website)

utton_retrieve.pack()

utton_ggraph = tkinter.Buton(form, tetext=”Showraph”, concommand=show_graph)

utton_graph.pack()

utton_mamatrix = tkinteron(form,ttext=”Showtrix”)atrix

utton_matrix.pack()

uttonn._excel = tkinterButonform,text=”Savetoxcel”)
_eon_excel.p.pack()# 3. Generate graphs (bar chart, matrix)→>seemethod show_graph()

# 4. I/0 saving the matrix to an excel file→>usesomething like: df1.to_excel(“output,xlsx”)

Create a GUI Python application

We offer the best custom writing paper services. We have answered this question before and we can also do it for you.

GET STARTED TODAY AND GET A 20% DISCOUNT coupon code DISC20

We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.