def quickRemoveComments(self): import quickremove quickremove.comments(self.mainwindow().textCursor())