Running python code gives strange output

Hey, guys. I’m having the problem with runnig code in Komodo. Both 10 and 11 versions. It’s the same abracadabra message for Ruby, Python and Python 3 codes. See the screenshots please. It runs perfectly through the command line. What could be a problem?

What do you get if you run your script manually from the command line?