Python with MySQL: Login Page Linked With Signup Page

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • Hey everyone, in this video you will learn how to build a GUI of a login 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 which 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/pro...
    Project Images: drive.google.com/drive/folder...
    Time Stamp:
    (00:00:00) Intro
    (00:00:10) Demo
    (00:05:27) Setup
    (00:06:15) Creating Window
    (00:08:30) Adding Background Image
    (00:14:41) Adding Heading
    (00:20:20) Adding Entry Fields
    (00:45:54) Creating Buttons
    (00:53:34) Adding Logo Images
    (00:59:38) Ending
    Terms related to this video:
    login page using tkinter python
    login page using tkinter in python
    login page using tkinter github
    signup page using tkinter
    simple login page using tkinter
    login page in python tkinter with database
    how to make login page in tkinter
    login app using python
    login form using python
    how to create signin form using tkinter
    how to create a registration form using python
    login page python
    python login page
    Tags:
    #tkinterproject #pythonproject #pythonguitutorial
    ★★★ Subscribe ★★★
    / @codinglifestyle4u
    ★★★ Follow ★★★
    / coding_lifestyle_4u
    Thanks for watching.
    Please Like, Subscribe & Share.
    Stay tuned for upcoming projects 🙂

Комментарии • 125

  • @bharathv3704
    @bharathv3704 3 месяца назад +1

    Awesome bro Really very clearly this Vedio

  • @aniebueisaac2125
    @aniebueisaac2125 10 месяцев назад

    I hv used ,icon-icon to get the background image u used in project and can't get fine it?

    • @codinglifestyle4u
      @codinglifestyle4u  10 месяцев назад

      Can u show me the pic of what u r trying to do on instagram coding_lifestyle_4u

  • @smosavalery3056
    @smosavalery3056 Год назад +1

    Good day, what if i'd like to encrypt data insert when signup to database?

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      You can use the 'bcrypt' module to encrypt the data, for more information search on google how to use it

  • @kalpanasharma5000
    @kalpanasharma5000 Год назад

    Thanks 👌 😊

  • @nathbrnt4080
    @nathbrnt4080 Год назад

    I have a little problem with all the borders. Even if I have put bd=0 I still have a little grey border around my entry zone that become black when I click on it and I don't know how to solve it. Also the background of every button don't want to change color.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      To remove the grey border around an entry widget in Tkinter, you can set the highlightthickness to 0. Here's an example:
      entry = Entry(root, bd=0, highlightthickness=0)
      This should remove the grey border that appears around the entry widget.
      Regarding the background color of the button not changing, make sure that you are using the correct option for setting the background color. The option for background color in Tkinter is 'bg' or 'background'
      button = Button(root, text="Button", bg="red")

    • @nathbrnt4080
      @nathbrnt4080 Год назад

      @@codinglifestyle4u thanks it is working now

  • @yashtaneja8242
    @yashtaneja8242 11 месяцев назад

    sir whenever i add root.geometry or add font size it shows error and in error it take error from another file where python is install or that file when comes how to solve that it run only my commands not from other file

    • @codinglifestyle4u
      @codinglifestyle4u  11 месяцев назад

      Send me the error pic on instagram coding_lifestyle_4u

  • @harisghaffar2577
    @harisghaffar2577 Год назад

    When i try to move from one window to other it give me this error NameError: name 'SignUp' is not defined my file are ipynb file please guide me i can't change them to py file because i'm working in jupyter notebook

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      pip install nbconvert
      Convert the .ipynb file into a Python script using the nbconvert command-line tool. For example:
      jupyter nbconvert --to script notebook.ipynb
      This will create a .py file with the same name as your notebook.
      And then simply
      import notebook

  • @jamescarltorres6711
    @jamescarltorres6711 7 месяцев назад +1

    what app did you use to create a log in page and how to install?

  • @SUBORNOVISION
    @SUBORNOVISION Год назад

    Thanks for the new project. at 4:26 regarding re-setting of password, it would be better if it is verified through e-mail access which is practiced in professional password reset system to be more secured.. Pls. think about it.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Password is reset only when u will enter the correct email which u entered while sign up

    • @SUBORNOVISION
      @SUBORNOVISION Год назад

      @@codinglifestyle4u Thanks for your reply. but other person may know my email address ( e-mail is nothing seret) so anyone who knows my email , he can reset my pw easily. That's why there is system either email verification or one time pass code through email or mobile. Hope I could make you understand.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Ok got it ill try :)

    • @danieljohncanedacatudio5072
      @danieljohncanedacatudio5072 Год назад

      @@codinglifestyle4u if there is a possibility to connect that GUI to online world. I think SUBORNO want it to at least put a verification code entry during the reset process. If verification code did not matched even if the email is correct then there's no way that the user can save the changes of the password, however when the user tried to reset a password using an email that never exist on the app there should be an error message telling the user that the email can't be able to receive verification code 'cos it didn't exist on the database.

  • @jamiluyahaya3018
    @jamiluyahaya3018 Год назад

    Amazing keep it up but you forget to drop the imaga

  • @KAMLAMAHATO-jn6bo
    @KAMLAMAHATO-jn6bo Месяц назад

    which application is used to do the program mean the program part which you are doing

  • @GraceandWisdom
    @GraceandWisdom Год назад +1

    I am new to Python, so I don't fully understand how things work. Everytime I attempt to add the Pillow module, it says ModuleNotFoundError: No module named 'PIL' I have uninstalled it multiple times. What needs to be done?

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      Install module by going into
      Files- settings -project-python interpretor - click on plus icon - search for the module and install

    • @GraceandWisdom
      @GraceandWisdom Год назад

      Sir, you completely ROCK! I have it working within the PyCharm IDE; Visual Studio Code is still out-of-sync.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Great 😃

    • @ridwanhakim680
      @ridwanhakim680 Год назад

      @@codinglifestyle4u oleh ol

    • @ridwanhakim680
      @ridwanhakim680 Год назад

      @@codinglifestyle4u o

  • @user-zg1wp2gt3l
    @user-zg1wp2gt3l 11 месяцев назад

    good day sir, from the very beginning mine is throwing an attribute error: AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'. Please may i know what i may be doing wrong?

    • @codinglifestyle4u
      @codinglifestyle4u  11 месяцев назад

      Can u send me the error pic on instagram coding_lifestyle_4u

    • @user-zg1wp2gt3l
      @user-zg1wp2gt3l 11 месяцев назад

      @@codinglifestyle4u I've sent you the message sir and you haven't replied

    • @codinglifestyle4u
      @codinglifestyle4u  11 месяцев назад

      I replied

    • @user-ee8cl4fk6e
      @user-ee8cl4fk6e 5 месяцев назад

      i am getting the same error please help me

    • @yaashvidhyani5427
      @yaashvidhyani5427 3 месяца назад

      sir im getting the same error please help me as i have to submit my project tomorrow@@codinglifestyle4u

  • @gargighosh7061
    @gargighosh7061 6 месяцев назад

    Can i do this in Idle instead of pycharm??

  • @ruhishasamnani
    @ruhishasamnani Год назад

    having an exception name error although everything is proper kindly give some solution sir

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      What is the error? can u send me the pic on insta coding_lifestyle_4u

  • @gyampohenoch7529
    @gyampohenoch7529 Год назад

    Hii , I have tried a lot of python projects on RUclips but yours is the best since I am able to understand it really well. Keep it up. But please can I get a link to download the background images and logo you used for this project? Since I have searched everywhere but can't find a good one. Thanks

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      Thank you, the images link is in the description of the video

  • @JupiShinn
    @JupiShinn Год назад

    35:20 would be easier to have just one def with elif ?
    def on_enter(event):
    if user_entry.get() == 'username':
    user_entry.delete(0, END)
    elif pass_entry.get() == 'password':
    pass_entry.delete(0, END)

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Yes 👍

    • @danieljohncanedacatudio5072
      @danieljohncanedacatudio5072 Год назад +1

      add this as well...
      elif user_entry.get() == '':
      user_entry.insert(0, "Username")
      elif pass_entry.get() == '':
      pass_entry.insert(0, "Password")
      add this to keep the label available whenever one of the text box is empty.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Thanks Daniel

    • @danieljohncanedacatudio5072
      @danieljohncanedacatudio5072 Год назад +1

      @@codinglifestyle4u thank you more for having this patience to create such long video just to teach us on how to design that beautiful log in user interface.

  • @thabangraykutumane6639
    @thabangraykutumane6639 Год назад

    can you please show how you connect mysql with python and also please great a python project that will connect to sql/mysql database please

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Plz watch the videos i have explained how to connect python with mysql

  • @priyanshupanchal1784
    @priyanshupanchal1784 Год назад

    Can you share the picture file you have used in this project?

  • @pravarmishra7192
    @pravarmishra7192 Год назад +1

    26:58
    def on_enter(enter):
    if usernameentry.get()=="username":
    usernameentry.delete(0,-1)
    usernameentry('',on_enter())
    throwing
    TypeError: on_enter() missing 1 required positional argument: 'enter'
    fix needed asap.

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      def on_enter(event):
      if usernameentry.get() == "username":
      usernameentry.delete(0, 'end')
      usernameentry.bind('', on_enter)

    • @pravarmishra7192
      @pravarmishra7192 Год назад

      @@codinglifestyle4u thanks found out the fix my bad. missed the bind.

  • @kamalsharma2839
    @kamalsharma2839 Год назад

    Is there a way without using any modules?

  • @hakizuwerajunior8941
    @hakizuwerajunior8941 Год назад

    comment for inline coding will help for starters please Thank you

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Thank you for your feedback I will take care of this next time onwards

  • @ramya.kramya.k7059
    @ramya.kramya.k7059 Год назад

    At the time of 36:18 i can't get my login screen what will be the problem sir i don't have any error issue then why the screen is not coming sir???

  • @bushrashabbir1323
    @bushrashabbir1323 Год назад

    How do I connect login page to another page??when session is login..

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      You just have to import another python file just like we imported the login file when clicking on the signup button

    • @bushrashabbir1323
      @bushrashabbir1323 Год назад

      @@codinglifestyle4u me try kr chuki hu but nh hua

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      Show me the code pic on insta coding_lifestyle_4u

  • @Harshbadala27
    @Harshbadala27 Год назад

    Can I use this application in my mobile

  • @thezero277
    @thezero277 10 месяцев назад

    Can I buy your code without using Indian money? I'm from Thailand.

    • @codinglifestyle4u
      @codinglifestyle4u  10 месяцев назад

      If you have PayPal then ping me on instagram coding_lifestyle_4u

  • @sajidmalek8010
    @sajidmalek8010 8 месяцев назад

    But mari image small aarhi ha kya kru sir?

  • @ashwinmohanty9830
    @ashwinmohanty9830 5 дней назад

    Design page not getting,where should I get

  • @Neha-yp6kl
    @Neha-yp6kl 11 месяцев назад +1

    Can I get the code sir?

  • @movieshortking2860
    @movieshortking2860 11 месяцев назад

    How to change size of the image😅

    • @codinglifestyle4u
      @codinglifestyle4u  11 месяцев назад +1

      You can use the image resize method of tkinter ..u can search on google

  • @digitalindiakarnainansari79
    @digitalindiakarnainansari79 11 месяцев назад +1

    Instagram work nahin le raha hai aapka

  • @digitalindiakarnainansari79
    @digitalindiakarnainansari79 11 месяцев назад +1

    Mujhe iska soch code chahie Jo video mein Bata rahe hain to 1 se 4 Tak aapka yah video hai yah Charon ka mujhe Kaun file chahie

  • @Heisversatile
    @Heisversatile Год назад

    How do I get the pic tho🤧

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      It is in the description 😃

    • @JupiShinn
      @JupiShinn Год назад

      from tkinter import *
      from PIL import ImageTk
      if you have .png or .gif you can use just Photoimage - (Tkinter)
      For other formats as .jpeg , .bmp and others you use
      ImageTk.PhotoImage(file="image name") - (Pillow)

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      Thanks

    • @aniebueisaac2125
      @aniebueisaac2125 10 месяцев назад

      @@codinglifestyle4u how do I get the back ground image

    • @codinglifestyle4u
      @codinglifestyle4u  10 месяцев назад

      Thats in the description of the video

  • @harshjeetsinhjadeja5610
    @harshjeetsinhjadeja5610 Год назад

    Can you provide source code link plzz....?

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +2

      It would be better if you try to build it by watching tutorials

    • @harshjeetsinhjadeja5610
      @harshjeetsinhjadeja5610 Год назад

      @@codinglifestyle4u but tomorrow is my submission and its an emergency so plzz can to provide it ?

  • @tayyabhussain4484
    @tayyabhussain4484 8 дней назад

    how to convrt code into apk?

  • @Harshbadala27
    @Harshbadala27 Год назад

    Esi applications banao jo mobile me bhi chale please

  • @hemantyadav9557
    @hemantyadav9557 11 месяцев назад

    Sourcecode sir?

  • @rishabhmangal3999
    @rishabhmangal3999 Год назад

    can you provide the source code link?

  • @baileysharons.s3415
    @baileysharons.s3415 Год назад

    i cant download the images

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад +1

      The images are in the description.
      Check the google drive link

  • @Jo-bf2hf
    @Jo-bf2hf 3 месяца назад

    can u do this using pycharm

    • @codinglifestyle4u
      @codinglifestyle4u  3 месяца назад

      Yes

    • @Jo-bf2hf
      @Jo-bf2hf 3 месяца назад

      broo can be in contact with u cuz i am currently working on a project where i am building a login and registration page in python

  • @ashwinkhandare2957
    @ashwinkhandare2957 Год назад

    Having an exception Tclerror

    • @codinglifestyle4u
      @codinglifestyle4u  Год назад

      What is the complete error .
      You can rewatch that part and see where you are making a mistake

  • @badgood8477
    @badgood8477 Год назад +1

    Can i get your linkedIn profile ??? I want to connect with you on LinkedIN. Because the way you explain the things in this project is really incredible 😍😍 , your explanation is very easy to understand and easy to grasp!!!

  • @digitalindiakarnainansari79
    @digitalindiakarnainansari79 11 месяцев назад +1

    Instagram search karke hi aapka wala mein jaate Hain to to nahin le raha hai

    • @codinglifestyle4u
      @codinglifestyle4u  11 месяцев назад +1

      Text me ur whatsapp no. On my email
      codinglyfstyle@gmail.com

  • @RuslanKhamidoullin
    @RuslanKhamidoullin 7 месяцев назад +1

    Парень не умеет пользоваться булевой логикой.)

  • @digitalindiakarnainansari79
    @digitalindiakarnainansari79 11 месяцев назад +1

    Aapka Mel mein WhatsApp number likh diya hun aur apna email id bhi usi mein add kar diya St mein according file mujhe bhej dijiyega taki mein bhi yah video dekhkar shikshakon aap ko dene ke liye dhanyvad
    Iske sath ISI mein aapka 4 video mein banae hain kya Charon ka coding file mujhe bhej dijiye aapka dene ke liye mujhe dhanyvad kar raha hun sir thank you❤❤