在Python 3 中,write() 函数的返回值是参数data 的字节数。在Python 2 中,其返回值是None。下面演示了这种不同: fd = open(out.dat, w) # Python 3中的 ...
確定! 回上一頁