Files
Phoenix/samples/doodle
Per A. Brodtkorb e4e8bf8317 Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important

Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
2020-03-23 17:16:44 +01:00
..
2019-04-12 20:32:41 -07:00
2020-03-20 18:51:19 +01:00
2019-04-12 20:32:41 -07:00
2019-04-12 20:32:41 -07:00
2019-04-12 20:32:41 -07:00
2019-04-12 20:32:41 -07:00
2019-04-12 20:32:41 -07:00
2020-03-23 17:16:44 +01:00
2019-04-12 20:32:41 -07:00
2019-04-12 20:32:41 -07:00

Doodle
------

This little sample is a doodle application.  It shows you how to draw
on a canvas, deal with mouse events, popup menus, update UI events,
and much more.

    doodle.py	    A class for the main drawing window.  You can also
                    run it directly to see just this window.


    superdoodle.py  Takes the DoodleWindow from doodle.py and puts it
                    in a more full featured application with a control
                    panel, and the ability to save and load doodles.

    setup.py        This sample also shows you how to make your
                    applications automatically self-update when new
		    releases are available.  There is a bit of code in
                    the superdoodle module to use the softwareupdate
                    module from the library, but the real magic
                    happens here in the distutils setup module.