Debian Codegraph @

examples/atexit_example.py

raw symbols SCIP
1 # This examples shows how to do cleanups and other things when
2 # the application exists by using pyside.atexit().
3
4 import pyotherside
5
6 def called_when_exiting():
7 print('Now exiting the application...')
8
9 pyotherside.atexit(called_when_exiting)
10 print('python loaded')