Examveda

How can you check if a module is available and can be imported in Python?

A. By using a try...except block with an import statement

B. By using the check_module function

C. By using the module_exists keyword

D. By using the available_module function

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python