Is it possible in Python to calculate a term in a string?
string_a = "4 ** (3 - 2)"
unknown_function(string_a) = 4
eval(string_a) # 4
But do not use this under any circumstances if
string_a comes from anyone but you, because they can easily hack into your system and destroy your files!