コード例 #1
0
 def init(self):
     id_nuisance = self.config.nuisance
     boot_config = get_boot_config()
     self.nuisance = boot_config.nuisances.instance(id_nuisance) 
     self.y0_spec = None
     
     self.failed = False
コード例 #2
0
ファイル: boot_gui.py プロジェクト: AndreaCensi/vehicles
def main():
    bo_config = get_boot_config()
    bo_config.load()
    VehiclesConfig.load()

    app = wx.PySimpleApp(0)  # @UndefinedVariable
    wx.InitAllImageHandlers()  # @UndefinedVariable
    frame_1 = Parent()
    frame_1.fill_choices()
    app.SetTopWindow(frame_1)

    frame_1.Show()
    app.MainLoop()
コード例 #3
0
def main():
    bo_config = get_boot_config()
    bo_config.load()
    VehiclesConfig.load()

    app = wx.PySimpleApp(0)  # @UndefinedVariable
    wx.InitAllImageHandlers()  # @UndefinedVariable
    frame_1 = Parent()
    frame_1.fill_choices()
    app.SetTopWindow(frame_1)

    frame_1.Show()
    app.MainLoop()