You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to initialize QTextStream to stdout, but am getting this error. I am trying to redirect stdout, while following the PySide docs (even though it doesn't use proper Python syntax).
stream = QtCore.QTextStream(sys.stdout)
TypeError: 'PySide.QtCore.QTextStream' called with wrong argument types:
PySide.QtCore.QTextStream(file)
Supported signatures:
PySide.QtCore.QTextStream()
PySide.QtCore.QTextStream(PySide.QtCore.QByteArray, PySide.QtCore.QIODevice.OpenMode = QIODevice.ReadWrite)
PySide.QtCore.QTextStream(PySide.QtCore.QIODevice)
The text was updated successfully, but these errors were encountered:
I am trying to initialize QTextStream to stdout, but am getting this error. I am trying to redirect stdout, while following the PySide docs (even though it doesn't use proper Python syntax).
The text was updated successfully, but these errors were encountered: