class a: def __init__(self): print "hello" def __del__(self): print "bye" b=a() b=None print s=raw_input('Press any key!')