Hi Asrarahmed,
There's a few questions in there, and unfortunately I don't have a copy
of your book. But I'll try to answer them, and I'll change the order so
that they build on each other.
>I am not sure of using time function in python..
Depending on what you're trying to do, the simplest w
When a login name is being created, you can pull a list of existing
login names from file, and run a check to see if it is in the list. If
the new name is in the list, have it kick back a message telling the
user to try another name.
Also, your program could suggest a new user name in such a case,
It means there is no need of entering the data in the dictionary,??
How will I then implement the uniqueness of loginnames???
Thanks for the support.
regards,
Asrar
On 10/12/06, Rob Andrews <[EMAIL PROTECTED]> wrote:
To keep the information, the simplest solution is simply to save it ina text
To keep the information, the simplest solution is simply to save it in
a text file that the program can load into memory when it starts up
again. For sensitive information like passwords, a little extra fuss
is generally merited.
When someone logs in, you can save a value like
time.strftime(time.c
Folks,
I am trying to modify the userManagement program given in Core Python Programming. It uses a dictionary to store user-password information. The usernames are the keys and the passwords are the values.
Now I want is to add a third element; last login time.
I want to store this information