Every line of 'flush python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
232 def flushPython(self): 233 self.logView.moveCursor(QtWidgets.QTextCursor.End, 234 QtWidgets.QTextCursor.MoveAnchor) 235 self.logView.moveCursor(QtWidgets.QTextCursor.Up, 236 QtWidgets.QTextCursor.MoveAnchor) 237 self.logView.moveCursor( 238 QtWidgets.QTextCursor.StartOfLine, QtWidgets.QTextCursor.MoveAnchor) 239 self.logView.moveCursor(QtWidgets.QTextCursor.End, 240 QtWidgets.QTextCursor.KeepAnchor) 241 self.logView.textCursor().removeSelectedText()