Which out of the following module is required to be used to create a binary…

2023

Which out of the following module is required to be used to create a binary file in Python?

Answer: B. pickleThe pickle module is used to serialize and deserialize Python objects into binary files.

  1. A.

    bin

  2. B.

    pickle

  3. C.

    binfile

  4. D.

    Binary

Attempted by 2483 students.

Show answer & explanation

Correct answer: B

The pickle module is used to serialize and deserialize Python objects into binary files.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…