I am writing a GUI. My GUI receives an integer input through QLineEdit
and the input should be transferred to another python script where it performs calculations. The GUI.py
file calls the python file Calculation.py
through subprocess.call
. When I try to send arguments to Calculation.py
, it throws an error :
error "TypeError: Unsupported operand type for /: 'str' and 'int'".
Any help would be much appreciated.