]>
Commit | Line | Data |
---|---|---|
d14a1e28 | 1 | """PyFilling is a python namespace inspection application.""" |
1fded56b | 2 | |
d14a1e28 RD |
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 | ||
d14a1e28 RD |
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() | |
1fded56b | 33 | |
8b9a4190 RD |
34 | if __name__ == '__main__': |
35 | main() |