Hello.
As a new python student we all tried the password program
Mine looked like this :)
def Password():
password = ent.get()
if password == '12345':
ent.delete(0,END)
ent.insert(0,'Welcome Back Aiban')
else:
ent.delete(0,END)
ent.insert(0,'Incorrect')
ok ... it does it's job and shows me when i get it right or when i get it wrong.
But how can i turn this into something more useful. In terms of ... well i have a window full of buttons including the password code right at the top.... thing is right now ... you can ignore it .. and move on and click all the other functions of the buttons without even using the password as the password isn't exactly linked to the rest of the program.
Ideally i would love to see the whole interface hidden UNTIL the correct password is typed .. then reveal the rest .... or the password dialogue to appear in a windows on top of the main menu (and the main menu cannot be touched until password is typed) .
Thinking outside the box a bit .... how about a blank canvas that COVERS all the program buttons except password and is removed ONCE the correct password is typed.
Looking for ideas on how to implement, code snippets and if it is time to shutup :) yeha yeah .. i type alot :)