Python Delete Object


Delete Objects

You can delete objects by using the del keyword:

Example

Delete the p1 object:

del p1
Try it Yourself »


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.