Is there a way to make it so I can have different correct usernames that are valid, for example: username1 password1 and then username2 password2, both be a valid login
Hi, you can try this by repeating the same statement with different user names n passwords, for example, elif username == 'any_user_name' and password == 'any_password': messagebox.showinfo('login', 'Login successful') root.destroy() top = Tk() top.configure(bg='white') U can repeat the above statement for multiple user names n passwords.
Thanks dear this is a good video as u have explained it clearly
Good video
I wanted this kind of a video thank a lot
Your welcome!
Big salute to your hardwork man...Doing code on a mobile phone is no kids play!
Noticed that too. Nice one. I have a question though, what is the use of global?
@@adewoledavid1082 globally declare
God bless you
Subscribe
❤
Thank you so so much for this
Your welcome 🙂
Same I got nonetype error 'get' did not have attributes what can I do ?
Thank you so much❤❤❤❤❤❤❤❤
Your welcome
thank you bro
You're welcome!
respect
Hi
Mam instead of creating new window can i open another python file. Is it possible??
Please tell me the open file code??
Thanks :)
Welcome
@@codewithyoosuf2215
Source code Please
Sir which editor do you use to run python program
Pydroid 3
Mam I got attributeerror: object has not 'get' what can I do ?
Me too
Helpful
Is there a way to make it so I can have different correct usernames that are valid, for example: username1 password1 and then username2 password2, both be a valid login
Hi, you can try this by repeating the same statement with different user names n passwords, for example,
elif username == 'any_user_name' and password == 'any_password':
messagebox.showinfo('login', 'Login successful')
root.destroy()
top = Tk()
top.configure(bg='white')
U can repeat the above statement for multiple user names n passwords.
@@codewithyoosuf2215 ohh I actually figured out over a week ago, I just made it a “or” loop. But thanks for responding, I appreciate it.
@nlcontra9613 sorry for the late response, your welcome 🙂
You want mtiplw users accounts without repeating the same bit of of code? I gotcha bro
Thanks so much❤
Your welcome
Plz bro next part logout system
Sure
Hi, can i develop accounting software using python?
If yes, pls advise tools names and process
Yes, it is possible. You can use tkinter. But the process is a bit complicated. There are RUclips videos on how to build one.
@@codewithyoosuf2215 ok thanks
Bro
How to limit number of attempts to try to login to 3
Hi,
U can use this code,
Login_attempts = 1
if Login_attempts
You are using Pydroid right?
Yes
Pycharm broo