Examveda

To obtain a list of all the functions defined under sys module, which of the following functions can be used?

A. print(sys)

B. print(dir.sys)

C. print(dir[sys])

D. print(dir(sys))

Answer: Option D


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python