I join to topic with my problem
I want to create new file with login and password in new file and I can do it with code below, but I don't know how save this new files in one folder users
def rejestracja(login, haslo): save=None login_tmp=login haslo_tmp=haslo save={login_tmp:haslo_tmp}
filehandler=open(login,"wb")
pickle.dump(save,filehandler)
filehandler.close()
filehandler=open(login,"rb")
file=pickle.load(filehandler)
filehandler.close()
print file
raw_input("\n\nWcisnij [ENTER]: ")
filehandler = open('users/' + login, "wb")