vertigo wrote: > How can i check if variable named var1 exists ? It's frequently a better approach to assume that it does and catch an exception if it doesn't. try: var1 except NameError: var1 = "neW" But why do you want to do this? -- Michael Hoffman