input from (rather than stdin). Defaults to None. Returns: str: Text read from stdin. r