Refactoring for fileConfig. Contributed by Shane Hathaway.
[python.git] / Mac / Tools / IDE / Wminiapp.py
blob0c515830ef08ba57efc4c27ab7b63c2585cc3210
1 """Minimal W application."""
3 import Wapplication
4 import macresource
5 import os
7 class TestApp(Wapplication.Application):
9 def __init__(self):
10 from Carbon import Res
11 # macresource.open_pathname("Widgets.rsrc")
12 self._menustocheck = []
13 self.preffilepath = os.path.join("Python", "PythonIDE preferences")
14 Wapplication.Application.__init__(self, 'Pyth')
15 # open a new text editor
16 import PyEdit
17 PyEdit.Editor()
18 # start the mainloop
19 self.mainloop()
22 TestApp()