#NEWLINE# def calculate( self ) : #NEWLINE# #INDENT# ' calculate() -> None        \n        Perform the calculation based on value1, value2 and op,\n        similar to the PythonCalc module, but through the GUI.\n\n        ' #NEWLINE# result = literal_eval ( ( ( self . value1Edit . text ( ) + self . opCombo . currentText ( ) ) + self . value2Edit . text ( ) ) ) #NEWLINE# self . resultLabel . setText ( str ( result ) )