Finalize Method In Python Example Program