python之atexit -- 在退出时进行清理操做

import atexit @atexit.register def exit_handle():print "close something"
相关文章
相关标签/搜索