Alexandre Detiste
|
0257f755cf
|
remove most of Python2 compatibility code
|
2025-02-02 20:17:45 -05:00 |
|
Alexandre Detiste
|
beb9932241
|
remove usage of six.print_()
|
2025-02-02 20:10:38 -05: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 |
|
Metallicow
|
01f8f09f60
|
Trim trailing space samples directory
|
2016-12-05 16:34:47 -06:00 |
|
Robin Dunn
|
ed4756b902
|
Remove wx.lib.six and use the stock six module instead,
and add it as an installation dependency.
|
2016-06-30 20:07:57 -07: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
|
146d38aa1b
|
Add the various print framework classes and a printing sample application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-04-21 00:07:56 +00:00 |
|