Can anyone tell me if there is a way for me to transform a string into an algorithm? for example: a="1 + 1" = > b = 1 + 1. For simple examples it is quiet to create a string interpreter, the problem is that I will get into more complex things like "(x ** 2 - 1) / (x - 1)".
note: I considered the SymPy library.