/usr/lib/python2.7/dist-packages/PythonCard/tools/oneEditor/templates/template.py is in python-pythoncard 0.8.2-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """
__version__ = "$Revision: 1.1 $"
__date__ = "$Date: 2004/10/03 23:58:02 $"
"""
from PythonCard import model
class MyBackground(model.Background):
def on_initialize(self, event):
# if you have any initialization
# including sizer setup, do it here
pass
if __name__ == '__main__':
app = model.Application(MyBackground)
app.MainLoop()
|