]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/PyAlaModeTest.py
1 """PyAlaModeTest is a programmer's editor."""
3 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
5 __revision__
= "$Revision$"[11:-2]
14 """PyAlaModeTest standalone application."""
16 def __init__(self
, filename
=None):
17 self
.filename
= filename
18 wx
.App
.__init
__(self
, redirect
=False)
21 wx
.InitAllImageHandlers()
22 self
.frame
= py
.editor
.EditorShellNotebookFrame(filename
=self
.filename
)
24 self
.SetTopWindow(self
.frame
)
27 def main(filename
=None):
31 if __name__
== '__main__':
34 filename
= os
.path
.realpath(sys
.argv
[1])