mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-12 01:50:11 +08:00
21 lines
378 B
Python
Executable File
21 lines
378 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import wx
|
|
import getopt
|
|
import sys
|
|
import dashboardframe
|
|
|
|
class DashboardApp(wx.App):
|
|
def OnInit(self):
|
|
self.main = dashboardframe.DashboardFrame()
|
|
self.main.Show()
|
|
self.SetTopWindow(self.main)
|
|
return True
|
|
|
|
def main():
|
|
application = DashboardApp(0)
|
|
application.MainLoop()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|