fileObject.read([count])
[dywang@deyu zzz]$ cat fileio4.py
#!/usr/bin/python3
fo = open("fileio.txt", "r+")
print("Read 3 bytes is:", fo.read(3))
print("Read 10 bytes is:", fo.read(10))
fo.close()
[dywang@deyu zzz]$ ./fileio4.py Read 3 bytes is: Pyt Read 10 bytes is: hon 是很棒的程式