Python version: 3.7.6
Redash version: 9.0.0-a;pha
Python query runner cannot use "print" function in 9.0.0-alpha

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
print, it will be put in the log section.
print will not work
Exactly the same issue when self-hosting.
We fixed it by updating the CustomPrint class in Python query runner.
Created a pull request for the same: https://github.com/getredash/redash/pull/4730
Most helpful comment
Exactly the same issue when self-hosting.
We fixed it by updating the CustomPrint class in Python query runner.
Created a pull request for the same: https://github.com/getredash/redash/pull/4730