adplus-dvertising
frame-decoration

Question

Which of the following functions is not defined under the sys module?

a.

sys.platform

b.

sys.path

c.

sys.readline

d.

sys.argv

Answer: (c).sys.readline

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following functions is not defined under the sys module?

Similar Questions

Discover Related MCQs

Q. The output of the functions len(“abc”) and sys.getsizeof(“abc”) will be the same. State whether true or false.

Q. What does os.name contain?

Q. What does print(os.geteuid()) print?

Q. What does os.getlogin() return?

Q. What does os.close(f) do?

Q. What does os.fchmod(fd, mode) do?

Q. Which of the following functions can be used to read data from a file using a file descriptor?

Q. Which of the following returns a string that represents the present working directory?

Q. What does os.link() do?

Q. Which of the following can be used to create a directory?

Q. Which of the following can be used to create a symbolic link?

Q. The command which helps us to reset the pen (turtle):

Q. Which of the following functions can be used to make the arrow black?

Q. In which direction is the turtle pointed by default?

Q. The command used to set only the x coordinate of the turtle at 45 units is:

Q. Which of the following functions returns a value in degrees, counterclockwise from the horizontal right?

Q. Which of the following functions results in an error?

Q. The function used to alter the thickness of the pen to ‘x’ units:

Q. The process of pickling in Python includes:

Q. To sterilize an object hierarchy, the _____________ function must be called.
To desterilize a data stream, the ______________ function must be called.