Commit Graph

9 Commits

Author SHA1 Message Date
Robin Dunn
92f8cd2d55 Fix lots of misspelled words 2020-07-14 11:38:32 -07:00
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
topic2k
873fd00a41 time.clock() is removed in Python 3.8
Two more places where `time.clock()` is called. Adopt the imports accordingly.
2019-09-15 12:55:34 +02:00
Metallicow
01f8f09f60 Trim trailing space samples directory 2016-12-05 16:34:47 -06:00
Werner F Bruhin
ca162ee926 - a few Py3 changes
- add tags
2014-05-26 12:58:45 +02:00
Robin Dunn
784673e690 PR 44 (modified): fixes print statements/functions in samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-15 08:13:12 +00:00
Robin Dunn
9ad818a4a7 turn off execute property, ensure native eol.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 05:31:31 +00:00
Robin Dunn
7bc7aaf7f8 Floatcanvas samples updates for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 05:19:51 +00:00
Robin Dunn
c7cd5d5fe9 Add the FloatCanvas demo modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-26 07:04:14 +00:00