Beremiz.py
changeset 1518 a656ccb868d4
parent 1513 b7b8d29e2a2d
child 1530 24d8e8c233bd
equal deleted inserted replaced
1517:30692ab8b5c7 1518:a656ccb868d4
    33 import time
    33 import time
    34 from types import ListType
    34 from types import ListType
    35 
    35 
    36 beremiz_dir = os.path.dirname(os.path.realpath(__file__))
    36 beremiz_dir = os.path.dirname(os.path.realpath(__file__))
    37 
    37 
    38 import wxversion
    38 if __name__ == '__main__':
    39 wxversion.select(['2.8', '3.0'])
    39     import wxversion
    40 import wx
    40     wxversion.select(['2.8', '3.0'])
       
    41     import wx
       
    42     
    41 from wx.lib.agw.advancedsplash import AdvancedSplash
    43 from wx.lib.agw.advancedsplash import AdvancedSplash
    42 
    44 
    43 def Bpath(*args):
    45 def Bpath(*args):
    44     return os.path.join(beremiz_dir,*args)
    46     return os.path.join(beremiz_dir,*args)
    45 
    47