Python Run Interactive Shell Commands