import os, sys from lib.startup import Startup s = Startup() s.set_library_paths() from assetmanagerwindow import AssetManagerWindow def __main__( ): from PyQt4.QtGui import QApplication app = QApplication(sys.argv) window = AssetManagerWindow() # window.show() sys.exit(app.exec_()) if __name__ == '__main__': __main__()