When application use stdin/stdout, user must confuse when thpy use stdin/stdout too. Make another way to interact with thpy, like socket, tcp port, ...