+ 1

An modified variale for Input

I working on making a Log In + Registration Code.. But i need help Im trying to create a variable that depends on the User input.. My thought was: print("ACC Registration") Username = input("Username: ") str(Username) Username + "p" = input("Password: ") print(Username + "p") i know the print dont work but just that you get the idea what i try to do.. i know you can make an simpler Login/Registration Prgramm but i want to have the element of an User created variable. that i can use this later for long time storage i make an exaple: ACC Registration A Window pops up for Username input. I type Z77. A variable gets created with the name Z77p A Window pops up for my password.. i type in password123 A now should be password123 saved in Z77p -End- I hope anyone know how to accomplish my idea :)

5th Jan 2017, 7:52 PM
z77
2 odpowiedzi
+ 1
hi z77, i would save the input into list one is username 2nd is password. with append you can add the user name to user name and pw to pw so you have a 1:1 mapping. becareful with save passwords in text.
5th Jan 2017, 9:52 PM
THDevelop
THDevelop - avatar
+ 1
Thank You i will try it out and look if it still matches with my vision :)
5th Jan 2017, 10:02 PM
z77