Unexpected exit of Python script
vicky
street.hawk.7 at gmail.com
Wed Oct 14 08:23:11 EDT 2009
Hello All,
I am a new Python user and don't know much about it.
I just want to know that, due to any reason if a script exits, is
their some way to release all the resources acquired by the script
during execution ?
Actually In my system I want to execute some piece of code at the time
of script exit (expected or unexpected) to ensure the release of all
the resources. I don't know how to do that :(
Can anyone please help me ?
More information about the Python-list
mailing list