-#!/bin/bash
+#!/bin/sh
cd ..
. b $*
cd -
def OnFileOpenDialog(self, evt):
dlg = wxFileDialog(self,
defaultDir = os.getcwd(),
+ wildcard = "All Files|*",
style = wxOPEN | wxCHANGE_DIR)
if dlg.ShowModal() == wxID_OK:
path = dlg.GetPath()
</body></html>
"""
+
+if __name__ == '__main__':
+ import os
+ import run
+ run.main(['', os.path.basename(__file__)])
+
"""
-
-## if __name__ == '__main__':
-## import sys
-## app = wxPySimpleApp()
-## frame = wxFrame(None, -1, "Tester...", size=(640, 480))
-## win = runTest(frame, frame, sys.stdout)
-## frame.Show(true)
-## app.MainLoop()
-
-
if __name__ == '__main__':
+ import os
import run
- run.main(['', 'wxStyledTextCtrl_1'])
+ run.main(['', os.path.basename(__file__)])
"""
-## if __name__ == '__main__':
-## import sys
-## app = wxPySimpleApp()
-## frame = wxFrame(None, -1, "Tester...", size=(640, 480))
-## win = runTest(frame, frame, sys.stdout)
-## frame.Show(true)
-## app.MainLoop()
-
-
if __name__ == '__main__':
+ import os
import run
- run.main(['', 'wxStyledTextCtrl_2'])
+ run.main(['', os.path.basename(__file__)])