How to Run Interactive Shell Script in Python