Python Libraries and Modules
Python Libraries and Modules - Important Points
16. | Which module in Python is used for working with Excel files? |
---|
A. xlrd
B. xlwt
C. openpyxl
D. all of the above
View Answer Discuss Work SpaceAnswer: option d
Explanation:
Python provides modules for working with Excel files, including xlrd, xlwt, and openpyxl. These modules provide functions for reading, writing, and manipulating Excel files in various formats.
17. | Which library in Python is used for web development? |
---|
A. Flask
B. Django
C. Pyramid
D. all of the above
View Answer Discuss Work SpaceAnswer: option d
Explanation:
There are several libraries used for web development in Python, including Flask, Django, and Pyramid. All of these libraries provide a range of tools and functions for building web applications.
18. | Which module in Python is used for working with network sockets? |
---|
A. socket
B. urllib
C. http
D. all of the above
View Answer Discuss Work SpaceAnswer: option a
Explanation:
The socket module in Python is used for working with network sockets. It provides functions for creating, connecting, and communicating over network sockets, including support for TCP and UDP protocols.
19. | Which library in Python is used for working with big data? |
---|
A. Dask
B. Hadoop
C. Spark
D. All of the above
View Answer Discuss Work SpaceAnswer: option d
Explanation:
There are several libraries used for working with big data in Python, including Dask, Hadoop, and Spark. All of these libraries provide a range of tools and functions for processing and analyzing large datasets.
20. | Which module in Python is used for working with binary data? |
---|
A. struct
B. io
C. os
D. all of the above
View Answer Discuss Work SpaceAnswer: option a
Explanation:
The struct module in Python is used for working with binary data. It provides functions for packing and unpacking binary data in various formats, including support for byte order and alignment.