☰
Debian Codegraph
@
1.6.2-2
/
/
examples
/
atexit_example.py
☽
☼
examples/atexit_example.py
code
plain
raw
symbols
SCIP
ISC
2011, 2013-2024 Thomas Perl <
[email protected]
>; 2014 Dennis Tomas <
[email protected]
>; 2014 Felix Krull <
[email protected]
>
debian/copyright
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'
)