]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/wx/py/PyFilling.py
Comment icon
[wxWidgets.git] / wxPython / wx / py / PyFilling.py
... / ...
CommitLineData
1"""PyFilling is a python namespace inspection application."""
2
3__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
4__cvsid__ = "$Id$"
5__revision__ = "$Revision$"[11:-2]
6
7# We use this object to get more introspection when run standalone.
8app = None
9
10import filling
11
12# These are imported just to have something interesting to inspect.
13import crust
14import interpreter
15import introspect
16import pseudo
17import shell
18import sys
19import wx
20
21class App(filling.App):
22 def OnInit(self):
23 filling.App.OnInit(self)
24 self.root = self.fillingFrame.filling.tree.root
25 return True
26
27def main():
28 """Create and run the application."""
29 global app
30 app = App(0)
31 app.fillingFrame.filling.tree.Expand(app.root)
32 app.MainLoop()
33
34if __name__ == '__main__':
35 main()