easygui
easygui copied to clipboard
multpasswordbox and passwordbox do not work
import easygui
username1 = easygui.enterbox(msg='Username?')
passwd1 = passwordbox(msg='Enter your password.')
returns the error
Traceback (most recent call last):
File "C:/SharedPycharmProjects/mowbat.py", line 11, in
This is a problem with your code, not easygui.
Notice you did not prefix passwordbox with easygui, IE easygui.passwordbox(msg="The message")
Therefore you're trying to call passwordbox from your script and not the passwordbox in easygui, resulting in the NameError