Thanks for your reply and attempt Guru,
In my integrator.py (this is my python script)
I have:
import sys
import numpy as np
from math import *
from PyQt4 import QtCore, QtGui
from integrator import Ui_integrator
import sys
import numpy as np
from math import *
from PyQt4 import QtCore, QtGui
from integrator import Ui_integrator
To copy to clipboard, switch view to plain text mode
in my Ui_integrator (that I made as a result of my Qt.ui, the first few lines are:
from PyQt4 import QtCore, QtGui
try:
_fromUtf8
= QtCore.
QString.
fromUtf8except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Integrator(object):
def setupUi(self, Integrator):
Integrator.setObjectName(_fromUtf8("Integrator"))
Integrator.resize(484, 596)
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_Integrator(object):
def setupUi(self, Integrator):
Integrator.setObjectName(_fromUtf8("Integrator"))
Integrator.resize(484, 596)
To copy to clipboard, switch view to plain text mode
Bookmarks