Cmd Replace In String Python