Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Login system not working
#3
also, as a side recommendations:
  • you don't need f.close() on line 4 and 7 - with context manager closes the file for you
  • you don't need line 11. enter_username is not global variable. And as a general rule you should avoid using global variables anyway.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Login system not working - by Unknown_Relic - Nov-05-2019, 10:47 AM
RE: Login system not working - by ThomasL - Nov-05-2019, 11:55 AM
RE: Login system not working - by buran - Nov-05-2019, 12:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 5,279 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  Login and Register system finndude 1 578 Apr-24-2020, 10:05 PM
Last Post: deanhystad
Question Difference between Python's os.system and Perl's system command Agile741 13 1,605 Dec-02-2019, 04:41 PM
Last Post: Agile741
  Login System Carbonix 4 1,769 Feb-04-2019, 02:19 PM
Last Post: Larz60+
  Python login system help. calumw20 1 1,647 Mar-06-2018, 08:01 AM
Last Post: buran
  Creating a Login System Using Python- HELP tesilstudent112 0 7,520 Dec-08-2017, 07:17 PM
Last Post: tesilstudent112
  Login System ItsBlueey 1 25,440 Nov-06-2017, 05:24 PM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020