When function is triggered by an event, it doesn't print


It’s happening to me that when a function containing a print statement in a py-script tag is triggered by an event, it doesn’t print the value on the window as it was supposed to.

Did you create a JsProxy of the Python function used as a callback?

I saw the same thing and reported a bug here. Feel free to add a note to that issue to get more visibility.