What python modules are available?

Modified on Mon, 4 Dec, 2023 at 11:18 PM

The base set of modules from Python are available. If you try to import a module that is not available, your submission will get "Run-Time Error".

If you want to check if a specific module is available, you can submit a program containing only a line like

import module_I_want_to_use

If this results in "Wrong Answer", module_I_want_to_use is available.  Otherwise, if it results in "Run-Time Error", the module is not available.


Note specifically that scipy and numpy are not available by default. However, in some cases we provide a separate "language" called "Python 3 with Numpy", where these modules are available.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article