]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/PyFilling.py
clarified the rules for determining whether the path is absolute or relative (patch...
[wxWidgets.git] / wxPython / wx / py / PyFilling.py
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.
8 app = None
9
10 import filling
11
12 # These are imported just to have something interesting to inspect.
13 import crust
14 import interpreter
15 import introspect
16 import pseudo
17 import shell
18 import sys
19 import wx
20
21 class App(filling.App):
22 def OnInit(self):
23 filling.App.OnInit(self)
24 self.root = self.fillingFrame.filling.tree.root
25 return True
26
27 def 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
34 if __name__ == '__main__':
35 main()