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