Hello,
How does PythonQt handle the destruction of the objects created in python scripts ? I can't find anywhere the information.
Thanks for your reply, hawaya
What exactly do you want to know?
If I create an object in a python script, will it be destroyed by PythonQt or do I have to destroy the object myself ?
It will get deleted automatically when Python loses the last variable that points to the object.
Log in to post a comment.
Hello,
How does PythonQt handle the destruction of the objects created in python scripts ?
I can't find anywhere the information.
Thanks for your reply,
hawaya
What exactly do you want to know?
If I create an object in a python script, will it be destroyed by PythonQt or do I have to destroy the object myself ?
Last edit: Dallard Heidy 2016-05-19
It will get deleted automatically when Python loses the last variable that points to the object.
Last edit: Sergey 2016-05-23