Re: how add path to open()

2014-11-30 Thread Dariusz Mysior
Yes this is it :) thanks :) W dniu niedziela, 30 listopada 2014 20:24:44 UTC+1 użytkownik Collin Anderson napisał: > > Hi, > > I think you want something like this. (Just make sure a login name doesn't > have '..' in it :). > > filehandler = open('users/' + login, "wb") > > Collin > > > On

Re: how add path to open()

2014-11-30 Thread Collin Anderson
Hi, I think you want something like this. (Just make sure a login name doesn't have '..' in it :). filehandler = open('users/' + login, "wb") Collin On Saturday, November 29, 2014 2:35:31 PM UTC-5, Dariusz Mysior wrote: > > I join to topic with my problem > > I want to create new file with

how add path to open()

2014-11-29 Thread Dariusz Mysior
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}