Welcome to Premium Paper Help

premiumpaperhelp.com logo

Our Services

Get 15% Discount on your First Order

  1. Write the following codes and submit the files in the “Submission.” Submission: 1. A summary of the program, what does the program do 2. Screenshot

 

1. Write the following codes and submit the files in the “Submission.”

Submission:

1. A summary of the program, what does the program do

2. Screenshot of the Running program

a). 

import tkinter

def main():

    # Create the main window widget.

    main_window = tkinter.Tk()

    #Enter the tkinter main loop.

    tkinter.mainloop()

# Call the main function.

main()

=========================================

b)

import tkinter

class MyGUI:

    def __init__(self):

        # Create the main window widget.

        self.main_window = tkinter.Tk()

        # Create a Label widget containing the

        # text ‘Hello World!’

        self.label = tkinter.Label(self.main_window,

                                   text=”Hello World!”)

        # Call the Label widget’s pack method.

        self.label.pack()

        # Enter the tkinter main loop.

        tkinter.mainloop()

# Create an instance of the MyGUI class.

my_gui = MyGUI()

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Week 8 Assignment – Operations, Technology, Management, and Social Responsibility Plan

Week 8 Assignment – Operations, Technology, Management, and Social Responsibility Plan Criteria Ratings Pts Create an operations plan for your selected company, include costs. <b4d61e47-c8a3-45bf-a38c-261566d07453> view longer description 25 to >22.49 pts Exemplary Created an operations plan for your selected company, include costs. <650ea985-6e95-4c22-87cd-3b5e9bf16200> 22.49 to >19.99 pts Competent Created

Health care agency/organization Overview Public health emergencies require strategic preparedness and rapid response from public health organizations. In next

Health care agency/organization Overview Public health emergencies require strategic preparedness and rapid response from public health organizations. In next week’s assignment, you will prioritize actions to respond to a Monkeypox outbreak. In this activity, you describe the role of a chosen public health agency or organization to combat such an

Read all the instruction in the pdf ENVIRONMENT, ETHICS, Global Politics AND HUMAN HEALTH TOPIC PROPOSAL Scientists use information from

Read all the instruction in the pdf ENVIRONMENT, ETHICS, Global Politics AND HUMAN HEALTH TOPIC PROPOSAL Scientists use information from scientific studies to research and design experiments. Scientists use primary, peer-reviewed, scientific literature to keep up-to-date on developments happening around the globe. Background information is an integral step in the

Module 6 Discussion   Discussion 6 Musculoskeletal Function: G.J. is a

Module 6 Discussion   Discussion 6 Musculoskeletal Function: G.J. is a 71-year-old overweight woman who presents to the Family Practice Clinic for the first time complaining of a long history of bilateral knee discomfort that becomes worse when it rains and usually feels better when the weather is warm and