> On Jun 29, 2016, at 15:39, steven meier wrote:
>
>
> here is my code:
> when importing get_main_page i get the error above...
>
> import sys
> from PyQt5 import QtWidgets
> from untitled import Ui_MainWindow
> #from webchat import get_main_page
You have to put the qt5reactor installation at
hi,
ive got some twisted code that runs on its own
and some python code that also runs on its own,
now i would like to combine the two, so i added:
if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv) # your code to init QtCore
import qt5reactor
qt5reactor.install()