- In Python Which Of The Following Statements Are True If Fin Is A File Object Opened For Reading In Binary Mode Execut 1 (91.38 KiB) Viewed 19 times
In Python, which of the following statements are true? If fin is a file object opened for reading in binary mode, execut
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
In Python, which of the following statements are true? If fin is a file object opened for reading in binary mode, execut
In Python, which of the following statements are true? If fin is a file object opened for reading in binary mode, executing struct.unpack("8s20s20sd", fin.read(56)) will: - read the next 56 bytes from the file, if available return 4 values obtained from the 56 bytes that have been read - the first 3 values are of bytes type, the last is a floating-point number If fin is an opened file object, fin.seek(2 48, 0) will set the file object's position to 96 Function os.chdir returns the list of the filenames in the working directory If fin is an opened file object, fin.seek(-10, 2) will set the file object's position to -10