expect-like io lib for subprocess and socket written in python