asdf <[EMAIL PROTECTED]> wrote:
(Presumably nothing to do with the Common Lisp system-definition utility.)
> So for example if I know that var1=jsmith. Can I somehow do
> var1=User().
Something like this might work.
class User (object):
def __init__(me, name):
me.name = name
class Users
On Jun 16, 9:16 pm, asdf <[EMAIL PROTECTED]> wrote:
> So I'm writing a script which will create several instances of User()
> class. I want each instance to be named after the login name
> of a user. I don't know beforehand how many users the script will
> have to create or how they are named. Rig
So I'm writing a script which will create several instances of User()
class. I want each instance to be named after the login name
of a user. I don't know beforehand how many users the script will
have to create or how they are named. Right now I've created a dictionary
of usernames as keys and obj