Testing if a list exist
joonas
keisari_ at hotmail.com
Thu Dec 21 10:20:08 EST 2000
More information about the Python-list mailing list
Thu Dec 21 10:20:08 EST 2000
- Previous message (by thread): Testing if a list exist
- Next message (by thread): PyOpenGL and Nvidia GL?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How can I test if a list exists or not. I have used ############## try: temp = mylist except: #do stuff if mylist does not exist else: #do sfuff if mylist exists ############## Is there any better way to do that? Joonas.
- Previous message (by thread): Testing if a list exist
- Next message (by thread): PyOpenGL and Nvidia GL?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list