You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
542 B

10 years ago
11 years ago
10 years ago
11 years ago
10 years ago
11 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
10 years ago
  1. #!/usr/bin/env python2
  2. ''' Youtube-dlg __init__ file. '''
  3. import sys
  4. try:
  5. import wx
  6. except ImportError as e:
  7. print e
  8. sys.exit(1)
  9. from .MainFrame import MainFrame
  10. from .version import __version__
  11. from .data import (
  12. __author__,
  13. __appname__,
  14. __contact__,
  15. __license__,
  16. __projecturl__,
  17. __licensefull__,
  18. __description__,
  19. __descriptionfull__,
  20. )
  21. def main():
  22. ''' Call youtube-dlg main window. '''
  23. app = wx.App()
  24. frame = MainFrame()
  25. frame.Centre()
  26. frame.Show()
  27. app.MainLoop()