All streams are careful about the type of data you give to them. For example giving a str object to the write() method of a binary stream will raise a TypeError ...
確定! 回上一頁