Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
added 93 characters in body
Source Link

So if i understand correctly there is no user in the Database file. There are one way of solving the problem that i can think of learn some pandas(its module) and create a table with unsernames and passwords(its gona be 10 times easier than what you trying to do)

AND

As @jokkk2312 dont read a python file you can create a text file that will save the username and password as one(e.x username:panos password:123 in the file save it as one string: panos123 and put \n so it changes row every time.) After that make a program that ask you for your user name and password and combines them to a single string. You take than string and search the hole file for the same string....

If you want me to create a code example add a comment to this post and i will make one...

So if i understand correctly there is no user in the Database file. There are one way of solving the problem that i can think of learn some pandas(its module) and create a table with unsernames and passwords(its gona be 10 times easier than what you trying to do)

AND

As @jokkk2312 dont read a python file you can create a text file that will save the username and password as one(e.x username:panos password:123 in the file save it as one string: panos123 and put \n so it changes row every time.) After that make a program that ask you for your user name and password and combines them to a single string. You take than string and search the hole file for the same string....

So if i understand correctly there is no user in the Database file. There are one way of solving the problem that i can think of learn some pandas(its module) and create a table with unsernames and passwords(its gona be 10 times easier than what you trying to do)

AND

As @jokkk2312 dont read a python file you can create a text file that will save the username and password as one(e.x username:panos password:123 in the file save it as one string: panos123 and put \n so it changes row every time.) After that make a program that ask you for your user name and password and combines them to a single string. You take than string and search the hole file for the same string....

If you want me to create a code example add a comment to this post and i will make one...

Source Link

So if i understand correctly there is no user in the Database file. There are one way of solving the problem that i can think of learn some pandas(its module) and create a table with unsernames and passwords(its gona be 10 times easier than what you trying to do)

AND

As @jokkk2312 dont read a python file you can create a text file that will save the username and password as one(e.x username:panos password:123 in the file save it as one string: panos123 and put \n so it changes row every time.) After that make a program that ask you for your user name and password and combines them to a single string. You take than string and search the hole file for the same string....