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

Niccolò Machiavelli: What social latitudes or constraints influenced

Choose one significant military theorist from that period and describe his or her contribution to military philosophy. • Is this person associated with a military treatise and if so, why was the treatise written? • How did technological advancements or limitations of this person’s age shape his or her ideas?

Based on the scenario, do additional research to identify ways

  Based on the scenario, do additional research to identify ways to limit security threats. Then write a 2- to 3-page analysis of the identity scenario that does the following: Answers, from a security perspective, if you would use your Social Security number in advertising. Describes the security breach in the scenario. Discusses how

Describe the diagnosis and staging of cancer.

Write a paper describing the approach to care of cancer. In addition, include the following in your paper: Describe the diagnosis and staging of cancer. Describe at least three complications of cancer, the side effects of treatment, and methods to lessen physical and psychological effects. Prepare this assignment according to

Instructions Use the attachments for help. These are only to

Instructions Use the attachments for help.  These are only to be used for the topic. Bibliography. Search, review, and compile 10-15 references to be used for your Week 7 Paper. APA-format these references, put them on a Word document along with a short abstract or review of each of the

After reading the following article(s) or watching the following video(s),

After reading the following article(s) or watching the following video(s), use this forum to contribute to the discussion. The Evolving Landscape of Social Media Influencers Marketing [Infographic] (Links to an external site.) Writing Prompt/Question: How has the Social Media Influencers market grown? Your initial post should be at least 200 words. 

Criminal Justice Applications multimedia presentation

text book needed , Schmalleger, F. (2017). Criminal Justice Today: An Introductory Text for the 21st Century (14th ed). Boston, MA: Pearson. Develop a multimedia presentation (PowerPoint, Prezi, Google Slides, Esri, etc.) identifying three special issues in criminal justice today. You can focus on chapters 15, 16, 17, and 18

Implementing a performance management system

Description Understanding the steps to take before implementing a performance management can greatly improve organizational success. Consider how you would implement a performance management system for your organization; include details about the communications plan, the appeals process, training programs for raters, and the pilot test for your performance management system.

discuss globalization and decision-making. You all have some ideas of

  discuss globalization and decision-making. You all have some ideas of how globalization has affected your life, so let’s expand on that and discuss: How has globalization affected different world regions?  What are some of the benefits and costs of globalization for different sectors of society (for example, companies, workers,

We learned that e-mail is a major area of focus

We learned that e-mail is a major area of focus for information governance (IG) efforts, and has become the most common business software application and the backbone of business communications today.  In addition, the authors provided details to support their position by providing 2013 survey results from 2,400 corporate e-mail

Discussion Board Topic: Hereditary Diseases Choose a hereditary disease not

 Discussion Board Topic: Hereditary Diseases Choose a hereditary disease not already used by another student. If you complete the assignment early, you will have more choices available to you. Part One: Research a hereditary disorder that occurs in humans and/or other animals. The disease must have a genetic basis. Organize your post in three

Reentry is a new focus of contemporary corrections. Elected officials

 Reentry is a new focus of contemporary corrections. Elected officials are continuously looking for new ways to help prisoners with their reentry back into communities. The Second Chance Act, which authorized over $300 million for prisoner programs, was designed to help protect public safety and reduce recidivism rates. Explain the

General Requirements: Use the following information to ensure successful completion

 General Requirements: Use the following information to ensure successful completion of the assignment: Review the 2010 APA Ethics Code. Refer to Pope, K. S. (n.d.). Dual relationships, multiple relationships, & boundary decisions in the Topic Resources for this topic. This assignment uses a rubric. Please review the rubric prior to beginning

My motor skill is: Body Management In week one you

 My motor skill is: Body Management In week one you selected a motor skill.  You’ve been working on writing a lesson plan in CAP 1 and CAP 2. Use the attached documents to write a lesson plan for your selected motor skill. Your lesson plan can look differently but needs to include

Case Study and Questions Gloria and Lakeisha are co-workers who

Case Study and Questions Gloria and Lakeisha are co-workers who are assigned to work on a project together. Lakeisha is very organized and wants them to do really well on this project. To help them get started, Lakeisha took some initiative and prepared a list of to-do items along with

1 – 2 pages 12 font double space cover page

  1 – 2 pages 12 font  double space cover page use  subheadings Observations about professional expectations at the agency How agency policies may protect you and clients Challenges to professional behavior encountered so far How professional behavior and presentation aligns with Walden University policy and the NASW Code of

Submit 2-3 pages describing the Methods/Design and Statistical Analysis that

Submit 2-3 pages describing the Methods/Design and Statistical Analysis that you will use in your project. Use the evidence from the peer reviewed articles that you have critically appraised and synthesized. Follow APA format and cite references. Include the following: Describe the evaluative criteria (indicators or variables) to be addressed