youtube-dl-gui/youtube_dl_gui/__init__.py

19 lines
296 B
Python

#! /usr/bin/env python
from sys import exit
try:
import wx
except ImportError, e:
print '[ERROR]', e
print 'Please install latest wx.Python'
exit(1)
from .YoutubeDLGUI import MainFrame
def main():
app = wx.App()
frame = MainFrame()
frame.Centre()
frame.Show()
app.MainLoop()