python del var se existir

if 'var' in globals() :
    del var
Annoying Armadillo