python Programming Glossary: self.history_index
How to embed a Python interpreter in a PyQT widget http://stackoverflow.com/questions/2758159/how-to-embed-a-python-interpreter-in-a-pyqt-widget or self.history 1 command self.history.append command self.history_index len self.history def getPrevHistoryEntry self if self.history.. self.history def getPrevHistoryEntry self if self.history self.history_index max 0 self.history_index 1 return self.history self.history_index.. self if self.history self.history_index max 0 self.history_index 1 return self.history self.history_index return '' def getNextHistoryEntry..
|