Question: Create a new method main ( ) that takes no parameters. The main ( ) function should execute immediately once pressing F 5 to run

Create a new method main() that takes no parameters. The main() function should execute immediately once pressing F5 to run the script. Basically I should not have to type main() into Idle in order to run the function. Main should create GUI interface using tkinter.
a. The GUI should contain the following:
i. an Image - I have uploaded several to D2L or you can find your own
ii. a label which contains the text 'Password'
iii. a text box that a use can type into and a button with the text 'Login'.
b. The text box should not show the actual characters being typed but should show '*' in their place
c. Once the Login button is pressed an informational popup will appear to communicate that the login has been accepted.
d. After pressing OK on the informational popup a new window will appear. The window will contain a large text box.
i. When text is typed into the text box the information should be printed to the idle
window as well as the text box (similar to the keylogger example shown in class)
ii. When the left and right mouse button are clicked inside the window the information should be printed to the idle window (similar to the replay.py program shown in class)
e. Below are several images which dictates how the application should run

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!