Checking whether an object has been created.
Olivier CARRERE
olivier at vibes.net
Tue Oct 17 12:52:12 EDT 2000
More information about the Python-list mailing list
Tue Oct 17 12:52:12 EDT 2000
- Previous message (by thread): Checking whether an object has been created.
- Next message (by thread): Checking whether an object has been created.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, has anyone a clean method to check if an object has been instanciated? What I wish to do is to create an object if it hasn't been made before, ie something like this : if not exists(objectReference): objectReference=Object() # perform stuff on objectReference Thanks in advance, - Olivier
- Previous message (by thread): Checking whether an object has been created.
- Next message (by thread): Checking whether an object has been created.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list