As stated in my previous comment, I love this. What I would like to know is how many landing pages have you created in order to quickly design and program this one?
Hi, when I clicked on 'login' button then the login page opens and when I clicked on 'Create new one' button it opens signUp page but when I clicked again on login button it terminates and close Basically I want to make it a loop so that it doesn't terminates , Can you please Help me !
In your code, the issue is likely due to the fact that you are creating a new instance of the Tk class each time you switch between the login and signup pages. Creating multiple instances of the Tk class is not recommended and can lead to unexpected behavior, including termination of the program. To fix this issue, you should create only one instance of the Tk class and use different frames to switch between the login and signup pages
@@codinglifestyle4u Thanks, You are right but by creating different frames in one instance of Tk the code becomes so Lengthy, Is it there any method so that I create different frames in different files and import it in the main file ?
hi, everything was working until i got to the log in underlined button. it did the same as you with the grid method but then when I used place instead like you said to, it stopped appearing on my screen. can you help with this?
in function "login_page" i'm getting error as "invalid command name ...while executing ("after" script)".Do you know why am i getting an error like that?
I am literally following your videos. But during the linking of the two windows, I found out that a consecutive of clicks on login button to go to log in window and create account button to go to create account window, these two automatically closes. Why is that happening?
@@codinglifestyle4u don't you have any other way to link this two windows aside of import? I might as well trying to find it out, will let you know once I find it out (knock on woods). Thank you again! You're the best
everything working properly, thanksalot for the video, but at the end of linking, extra file is opening which is blank, another file is working properly, pls give the solution for that
I had this doubt.. I followed every step and it runs perfectly.. Thank you very much.. But i just tien switching between the 2 files repeatedly amd the window crashes after 3 switches.. Why is it so? And how to obercome it??
Yes it happens..idk the reason .. but it can be solved if instead of creating new windows u can create frames ..for eg one frame to add login page and another frame to add signup page .. and you can use place_forget() like methods
#also when i click login button in signup page it quits with the message can't invoke "event" command: application has been destroyed while executing "event generate $w " (procedure "ttk::ThemeChanged" line 6) invoked from within "ttk::ThemeChanged"
Merci pour ces cours génial qui mérite plus de 10k.
Thank you
Thank you bro... An awesome work here with explanation you have done. wonderful
Thank you 👍
As stated in my previous comment, I love this. What I would like to know is how many landing pages have you created in order to quickly design and program this one?
Hi, when I clicked on 'login' button then the login page opens and when I clicked on 'Create new one' button it opens signUp page but when I clicked again on login button it terminates and close
Basically I want to make it a loop so that it doesn't terminates , Can you please Help me !
In your code, the issue is likely due to the fact that you are creating a new instance of the Tk class each time you switch between the login and signup pages. Creating multiple instances of the Tk class is not recommended and can lead to unexpected behavior, including termination of the program.
To fix this issue, you should create only one instance of the Tk class and use different frames to switch between the login and signup pages
@@codinglifestyle4u Thanks, You are right but by creating different frames in one instance of Tk the code becomes so Lengthy, Is it there any method so that I create different frames in different files and import it in the main file ?
hi, everything was working until i got to the log in underlined button. it did the same as you with the grid method but then when I used place instead like you said to, it stopped appearing on my screen. can you help with this?
Just reduce x and y values
in function "login_page" i'm getting error as "invalid command name ...while executing ("after" script)".Do you know why am i getting an error like that?
Please provide the complete error message
Is it possible to add options to register users with all privileges for admin and none for normal users?
How
I am literally following your videos. But during the linking of the two windows, I found out that a consecutive of clicks on login button to go to log in window and create account button to go to create account window, these two automatically closes. Why is that happening?
That solution I also didn't get till now :(
@@codinglifestyle4u don't you have any other way to link this two windows aside of import? I might as well trying to find it out, will let you know once I find it out (knock on woods). Thank you again! You're the best
@@danieljohncanedacatudio5072 Did you ever find the answer
@@codinglifestyle4udid u find soln for that?
Yes you can create a single TK() window and multiple frames and add your code in frames
What If users want to signup through Google or Facebook or Twitter account? anyone give me soln for that.
everything working properly, thanksalot for the video, but at the end of linking, extra file is opening which is blank, another file is working properly, pls give the solution for that
Is it an extra file or an extra window?
I tried the code till 4:44. When I'm running it the window box displayed is very large. Can you give any suggestion?
U can reduce the size of the window in root.geometry method
@@codinglifestyle4u thank you!
Sir My LOGIN page & sigup page can't link up its showing error
ValueError
Please recheck u must be doing some mistake
@@codinglifestyle4u no Checked, it's can't Link up with.
I am try
def function() :
signup. destroy ()
Import loginpage
Showing Command value Error??
Send me the error pic on instagram coding_lifestyle_4u
@@codinglifestyle4u I will send you Sir
I had this doubt.. I followed every step and it runs perfectly.. Thank you very much.. But i just tien switching between the 2 files repeatedly amd the window crashes after 3 switches.. Why is it so? And how to obercome it??
Yes it happens..idk the reason .. but it can be solved if instead of creating new windows u can create frames ..for eg one frame to add login page and another frame to add signup page .. and you can use place_forget() like methods
@@codinglifestyle4u oh.. I am not sure about those methods..
Take help of chatgpt
@@codinglifestyle4u i am but the codes that i get frm chatgpt give thousands of errors..
I did but i m not able to get correct code from there.. There wll be errors n stuffs.. Its okay i ll try.. Thank you
I'm not getting the username caption after the email I'm only getting the box what will be the issue sir
Maybe you have not used the place or grid method
@@codinglifestyle4u i have used grid method sir still am not getting it
Can u send me the pic of the output u r getting on instagram coding_lifestyle_4u
@@codinglifestyle4u i have sent it sir
I used the same values as u used in every places but I am not getting the text in the desired place 😭😭. Pls reply fast I need to submit my project
You can rewatch the video and match your code you must have made some mistake
@@codinglifestyle4u I used the place function instead
So it is fixed ?
The placing will be slightly different if you have a background image with different dimensions to the one shown in the video.
Bro how we can add it to my website developed in html
You cannot as this is a desktop software
Page import nahi ho raha hai sir
Rewatch that part and see what is the mistake
@@codinglifestyle4u def login_page():
#
# signup_window.destroy()
import user_login
And error show
_tkinter.TclError: image "pyimage3" doesn't exist
PS C:\Users\A\Desktop\Login Page in python>
@@engg.jobwala3750 Looking at your error you "pyimage3" file may not be in the same place as where your project is.
can I get the code please
Ping me on instagram coding_lifestyle_4u
Can I ask for code?
ping me on instagram coding_lifestyle_4u
I already uploaded code as comment under this video for free, copy code thank me later
@@yashwanthnizampatnam where it is bro
@@335adityayadav2 scroll the comments section below👇
@@yashwanthnizampatnam can't see your comment bro. Could you please again provide the code here
#redirect function
def resignup():
root.destroy()
import signup
#create account button
createaccbtn=Button(root,text="create account",bd=0,highlightthickness=0,font=("Ariel",11),command=resignup())
#throws error-(not redirecting to signup page)
_tkinter.TclError: can't invoke "button" command: application has been destroyedroot.destroy()
help please!
#also when i click login button in signup page it quits with the message
can't invoke "event" command: application has been destroyed
while executing
"event generate $w "
(procedure "ttk::ThemeChanged" line 6)
invoked from within
"ttk::ThemeChanged"
command=resignup dont add () parentheses