I can print this result in a Holoviz panel, for example by using pn.Column(select, button, result). However, when I try to access result in Python itself it says <function panel.depends._param_bind.<locals>.wrapped(*wargs, **wkwargs)>. I want to access the string in Python itself, but whatever I tried I can only access some function. I expected to be able to do result.value, but this does not work.
OK, so I updated this question many times (I cannot delete it). The solution is, very surprisingly and confusingly, to use result(). Thus if I type result() in python, I get the string in my python code.