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