Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
def f(): s = "local variable" if 's' in locals(): print ('Variable exist') else: print ('Variable not exist') f() ''' run: Variable exist '''