Yes. Bash has no (simple) way to communicate with Python other than Python's stdout, so you will always have to print the output if you want bash to know what that output is.
stdout
2.1m questions
2.1m answers
60 comments
57.0k users