Python with MySQL: Signup Page Linked With Login Page

  Рет қаралды 25,467

Coding Lifestyle 4u

Жыл бұрын

Hey everyone, in this video you will learn how to build a GUI of a signup page with Tkinter using Python.
In this project login and sign-up pages are linked with each other.
I have used the MySQL database to store the user data that the user will enter during sign up and with the help of that data user will be able to log in and change the password.
Source Code:
faizan-er.myinstamojo.com/product/4085563/python-with-mysql-login-page-linked-with-sig/
Project Images: drive.google.com/drive/folders/15gBQsqOfGPpTKlK7UPxiTUhe815dCYq1?usp=sharing
Time Stamp:
(00:00:00) Intro
(00:00:15) Setup
(00:00:36) Creating GUI
(00:01:22) Adding Background Image
(00:04:08) Creating Heading
(00:09:26) Creating Email Label & Its Entry Field
(00:13:31) Creating Username Label & Its Entry Field
(00:15:26) Creating Password Label & Its Entry Field
(00:16:17) Creating Confirm Password Label & Its Entry Field
(00:17:13) Creating Check Button
(00:20:23) Creating Signup Button
(00:22:59) Creating 'Don't have an account' Label
(00:23:52) Creating Log in Button
(00:27:05) Linking Signup & Login Page
(00:29:31) Ending
Terms related to this video:
how to create signup form using python
registration form in python using tkinter
login system using python with mysql database
login and registration in python with source code
login system using python
python login system with database
login and registration form using python
how to make a login system in python
login form in python
python signup page
python login page
python MySQL project
Tags:
#pythonsignuppage #tkinterproject #pythonproject #pythonprojectforbeginners #pythonguiproject
★★★ Subscribe ★★★
kzbin.info/door/G6ztZE3zK2aZeJZKnvohkg
★★★ Follow ★★★
coding_lifestyle_4u
Thanks for watching.
Please Like, Subscribe & Share.
Stay tuned for upcoming projects 🙂

Пікірлер: 61
@sidahmed3366
@sidahmed3366 Жыл бұрын
Merci pour ces cours génial qui mérite plus de 10k.
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Thank you
@felix-qf3wl
@felix-qf3wl 28 күн бұрын
Thank you bro... An awesome work here with explanation you have done. wonderful
@codinglifestyle4u
@codinglifestyle4u 28 күн бұрын
Thank you 👍
@smosaikapi9172
@smosaikapi9172 Жыл бұрын
Is it possible to add options to register users with all privileges for admin and none for normal users? How
@GraceandWisdom
@GraceandWisdom Жыл бұрын
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?
@abimani6320
@abimani6320 Жыл бұрын
What If users want to signup through Google or Facebook or Twitter account? anyone give me soln for that.
@hjvids1075
@hjvids1075 Жыл бұрын
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?
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Just reduce x and y values
@samadshaikh1918
@samadshaikh1918 Жыл бұрын
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?
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Please provide the complete error message
@harshitgupta2418
@harshitgupta2418 Жыл бұрын
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 !
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
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
@harshitgupta2418
@harshitgupta2418 Жыл бұрын
@@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 ?
@ruhishasamnani
@ruhishasamnani Жыл бұрын
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
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Is it an extra file or an extra window?
@Rajkumar_690
@Rajkumar_690 Жыл бұрын
Bro how we can add it to my website developed in html
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
You cannot as this is a desktop software
@anonymousalien5392
@anonymousalien5392 9 ай бұрын
I tried the code till 4:44. When I'm running it the window box displayed is very large. Can you give any suggestion?
@codinglifestyle4u
@codinglifestyle4u 9 ай бұрын
U can reduce the size of the window in root.geometry method
@anonymousalien5392
@anonymousalien5392 9 ай бұрын
@@codinglifestyle4u thank you!
@ramya.kramya.k7059
@ramya.kramya.k7059 Жыл бұрын
I'm not getting the username caption after the email I'm only getting the box what will be the issue sir
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Maybe you have not used the place or grid method
@ramya.kramya.k7059
@ramya.kramya.k7059 Жыл бұрын
@@codinglifestyle4u i have used grid method sir still am not getting it
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Can u send me the pic of the output u r getting on instagram coding_lifestyle_4u
@ramya.kramya.k7059
@ramya.kramya.k7059 Жыл бұрын
@@codinglifestyle4u i have sent it sir
@danieljohncanedacatudio5072
@danieljohncanedacatudio5072 Жыл бұрын
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
@codinglifestyle4u Жыл бұрын
That solution I also didn't get till now :(
@danieljohncanedacatudio5072
@danieljohncanedacatudio5072 Жыл бұрын
@@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
@paulcaul4525
@paulcaul4525 Жыл бұрын
@@danieljohncanedacatudio5072 Did you ever find the answer
@abimani6320
@abimani6320 Жыл бұрын
​@@codinglifestyle4udid u find soln for that?
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Yes you can create a single TK() window and multiple frames and add your code in frames
@user-ed1zu4px1z
@user-ed1zu4px1z Жыл бұрын
can I get the code please
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Ping me on instagram coding_lifestyle_4u
@toxicff6822
@toxicff6822 Жыл бұрын
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
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
You can rewatch the video and match your code you must have made some mistake
@toxicff6822
@toxicff6822 Жыл бұрын
@@codinglifestyle4u I used the place function instead
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
So it is fixed ?
@nitronjoe6233
@nitronjoe6233 Жыл бұрын
The placing will be slightly different if you have a background image with different dimensions to the one shown in the video.
@itsme9877
@itsme9877 4 ай бұрын
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??
@codinglifestyle4u
@codinglifestyle4u 4 ай бұрын
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
@itsme9877
@itsme9877 4 ай бұрын
@@codinglifestyle4u oh.. I am not sure about those methods..
@codinglifestyle4u
@codinglifestyle4u 4 ай бұрын
Take help of chatgpt
@itsme9877
@itsme9877 4 ай бұрын
@@codinglifestyle4u i am but the codes that i get frm chatgpt give thousands of errors..
@itsme9877
@itsme9877 4 ай бұрын
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
@engg.jobwala3750
@engg.jobwala3750 Жыл бұрын
Page import nahi ho raha hai sir
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
Rewatch that part and see what is the mistake
@engg.jobwala3750
@engg.jobwala3750 Жыл бұрын
@@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>
@nitronjoe6233
@nitronjoe6233 Жыл бұрын
@@engg.jobwala3750 Looking at your error you "pyimage3" file may not be in the same place as where your project is.
@geegee3766
@geegee3766 Жыл бұрын
Can I ask for code?
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
ping me on instagram coding_lifestyle_4u
@yashwanthnizampatnam
@yashwanthnizampatnam Жыл бұрын
I already uploaded code as comment under this video for free, copy code thank me later
@335adityayadav2
@335adityayadav2 Жыл бұрын
@@yashwanthnizampatnam where it is bro
@yashwanthnizampatnam
@yashwanthnizampatnam Жыл бұрын
@@335adityayadav2 scroll the comments section below👇
@nomank8274
@nomank8274 Жыл бұрын
​@@yashwanthnizampatnam can't see your comment bro. Could you please again provide the code here
@pravarmishra7192
@pravarmishra7192 Жыл бұрын
#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!
@pravarmishra7192
@pravarmishra7192 Жыл бұрын
#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"
@codinglifestyle4u
@codinglifestyle4u Жыл бұрын
command=resignup dont add () parentheses
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 12 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН