python login system tutorial (For beginners) Python Tutorial
HTML-код
- Опубликовано: 14 окт 2024
- In this Video I talk and show how to create a basic login system using python, this login system is not a GUI login system which means that it is non graphical and is not a python GUI app, However we save the usernames and passwords using simple text files.
🎁Don't forget to like and subscribe🎁
Get the code here: github.com/cod...
🎨Video Tags:🎨
python,python programming,freecodecamp python,learn python,programming language for beginners,python programming tutorial,python beginner projects,python beginner projects tutorial,python beginner programs, python beginner project ideas,python login system,python login form,python login project,python login system using text file,python login,python login page,python login system tutorial
Learn To Become A Professional Developer With Certificate:
coursecareers.com/a/c1a73d3a
Download login system code here : github.com/codewithvic/Login_System/tree/main
Only forgot a logout function. But, thanks for being the only person to read and write to a file; this is pure gold.
Thank you very very much! I swear this was the most helpful tutorial for what I was looking for.
I guess it is kind of randomly asking but do anyone know a good place to stream newly released tv shows online ?
Hey ...., Thank you so much for this code it helps me alot ,my 1st project on this password check based stuck from 2weeks ,and finally it will complete soon by your help ❤️
wow, I'm so happy to hear that.
How can you share the username and password data with other PC's running this application? Any particular module or solution that would be useful?
Helloooo
One part did not work when I entered a wrong login, it said granted was not defined but I global granted so I just used try and except
Otherwise great video
Great explanation
Here is a link to the code: github.com/codewithvic/Login_System/tree/main
Login.py", line 45, in
access(option)
line 30, in access
login(name,password)
line 9, in login
a,b = i.split(",")
ValueError: not enough values to unpack (expected 2, got 1)
help bro when trying to login after registering
i have the same problem
Same ☹️☹️
for the a , b = i.split()
I keep getting ValueError: not enough values to unpack (expected 2, got 1)
plz help
Change some stuff in textwindow
maybe i am late but probabily is because u have the first line in the text file without text
Here is the link to the code github.com/codewithvic/Login_System/tree/main
try using a,b = i.split(","). :)
@@codewithvic9065 Hi it still does not work.
Same problem I am facing plz resolve this soon suggest us what can we do to work it...
Thank you so much, coz I was searching for this program without tkinter ..this video is really helpful
Thank you for the video, now time for me to SUFFER and face my FEARS
I'm glad it was helpful to you. Consider subscribing to help me reach my 1000 subscriber goal.
Thank u man this helped alot. Thanks for showing us how u problem solve too. Helps alot for a beginner
a,b= i.split(",")
gives a ValueError: not enough values to unpack(expected 2,got 1)
Thanks for the vid, fairly easy to follow along. I'm trying to add a way to check if a username is already taken.
you can make a function that has a for loop that checks through each line of the file and sees if it has that username in any of them, if so it will return True and if the username doesnt exist you can return False.
i am getting a value error i.e. "not enough values to unpack (expected 2, got 1)". Please help.
Delete the first empty space in the text file.. And you can remove the
from the first registered user so it won't skip a line the first time
This is a very helpful video but one thing is that some trackback error is showing even with your code please tell me how to fix that
Helped me out on my assignment, thanks king
Thank you. What about writing scripts for "Forgot Password" or "Forgot Username".
Ive had to remake this 3 times because everytime I close it and want to keep working on it I can never find it and open it.
How would I go about adding more to register ? I wanted to add email and address but I’m getting an error. Can you please help me thanks 🙏
File "c:\Users\Charlie\Desktop\logging system\main.py", line 43, in
access(option)
NameError: name 'option' is not defined PLS HELP!!
I'll be making a video soon on error handling in python.
Hi there,
I had a question so in the beginning 3:41 why do you have to put the exclamation! mark after the option ?
Because != means not equal to
Thanks for the helpful tutorial. i have an issue with connecting to the text file. The program obtains input from me and shows the message successfully login but unable to update the text file.
Thank you bro for the tutorial really good explaining
Any way to use firebase in python 2.7 without any module please reply
Can you make a video on a button in python downloading a file?
thanks mate really helpful can we make multiuser application from this also
Thanks Victor. Great tutorial!
thank you for the good explanation, another step further in Python!
THANK YOU SOOOOO MUCH BRO, I LOVE YOU❤️❤️❤️
If you don't add the line "victo, 123", you will get 1 space error and it will fail
Because it has a space
You can play around with it and see what works best for you.
To avoid all these you can make use of databases for storing data. Subscribe and watch for my next tutorail on python Databases.
Thanks from Kerala, India🇮🇳. I think we need to add forgot password here.. 👍
hey for me login is not working its saying
Traceback (most recent call last):
File "####", line 47, in
acess(option)
File "###y", line 32, in acess
login(name,password)
File "###, line 9, in login
for i in file:
io.UnsupportedOperation: not readable
>>>
### is my drive name and admin so im hiding it
me too! i'm also having that issue
Here is a link to download the code: github.com/codewithvic/Login_System/tree/main
Tq
Hello! How do I link the grant to my main program?
It really helps bro...best explaination
tank you.give many tutorials like this
I'm working on that, you're welcome.
What is the use of mainwindow on the first part of the video?
This was just to bring a GUI like example of what we we're about to create.
You can always implement the code into your GUI application.
thank you, this is so helpful
tysm working u just earned a sub u deserve more and a like too
Thanks alot.
Did not get an error but for some reason when I run the code with all the file functions, it won’t transport the data I entered into the file I created. Can someone help?
Download the code from GitHub provided in the description and go through to see where the bug is, hope this helps :)
hi. when i try the login, it says error like this
ValueError: not enough values to unpack (expected 2, got 1)
do you know how to fix it?
Open txt file, clear the empty spaces above, it'll work
@@maxstreet thanks bro you resolved my problem
Thank you for the tutorial :)
Can u show dis with SQL database?
I'll be creating videos on SQL and Database management soon.
source code?
github.com/codewithvic/Login_System/tree/main
@@codewithvic9065Thanks for the sauce after nearly a year . I was waiting
God bless you u saved me
I'm really glad it was helpful to someone.
You are a King,
Thank you so much!
Do you have the written code of this mate?
Hey i expected not enough value to unpack
I'll be making a video on error handling soon.
after i login it closes the cmd right after any help?
Download the source code provided in the description and compare with your current code. Also watch out for my next video on "python error handling"
@@codewithvic9065 I did, when i ran your code too after I logged in it kept closing, no error what soever when i ran it in idle it printer that I logged in succesfully but then closed, is there any dependinces that needed to be installed beforehand?
@@2tonejankk Go ahead and also download the text file or create a new text file in the same directory as the code and name the text file the same name as stated on the tutorial video. I hope this helps :)
thx explained it very good
I'm glad it was helpful.
Thank you very much
Great video!
omg , thank you soo much 😇
thank you very much!
Great.
Thank you so much man
can you give me the source code please?
Pure gold.
Great tutorial!
Thanks alot.
@@codewithvic9065 doesnt work tho
@@espoirbrother3627 me neither, came up with something @code with vic ?
Thank you so muchhh
I'm really glad it was helpful to someone.
'loggin' epic spelling
Can i have the source code bro?
Will add that to the video description shortly :)
@@codewithvic9065 hurry up man
@@wwavy8413 github.com/codewithvic/Login_System/tree/main
github.com/codewithvic/Login_System/tree/main
Thanks for the video!
You're welcome!
Source code please?
github.com/codewithvic/Login_System/tree/main
I needed a bit help .... I want to combine 2 of my projects one being tkinter-mysql login system and a python-mysql banking management system so the trouble I am having is how can I connect those two codes in the sense that when I login to the tkinter-mysql one I can get into the python-mysql one
Here is the GitHub of mine
github.com/RudradevArya/Banking-management-system-using-Tkinter-MySQL-Python-
If I understand you, you mean you have two databases right??
@@codewithvic9065 no I have 1 database "bankdb2" which has 2 tables "login" and "bank"
source code plz :)
github.com/codewithvic/Login_System/tree/main
Bruh, source code ??
github.com/codewithvic/Login_System/tree/main
blah blah theres no code given i hate this tutorial i was kidding i liked it
Sorry, have been busy with school work.
here is the link to the code: github.com/codewithvic/Login_System/tree/main
@@codewithvic9065 No problem
@@codewithvic9065 Hey no prob buddy i was just kidding i wrote the code already pretty helpful
Thanks so much 🙏
I'm glad it was helpful