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

Understanding Operating Systems (Zero-cost course material) Unit 5 Lab

Understanding Operating Systems (Zero-cost course material) Unit 5 Lab Assignment 5: Networking and Security (40 points) In this assignment, you will learn to check network configurations and services and to configure an IP address on a computer. For each of the two questions, do the following: 1. Create a document (use

Research – System Analysis and design Assignment 9.1 – Business Processes and Process Management Research a scholarly paper or

Research – System Analysis and design Assignment 9.1 – Business Processes and Process Management Research a scholarly paper or professional video on  “Business Processes, and Process Specifications”  and reflect on only one (1) of the following topics: · “Processes”: What type of business system’s Processes exist? · “Specifications”: How important

1. Prepare a professional cover letter Articulate effective interview strategies Explain the difference between a “good” interview and a “bad” interview

1. Prepare a professional cover letter Articulate effective interview strategies Explain the difference between a “good” interview and a “bad” interview Lecture notes There are 3 sections of a cover letter that are required when writing a professional cover letter to include with your resume: Introductory paragraph (to attract the