list of modules allowed in python 3

list of third party modules of python allowed in codechef?

1 Like

Go to codechef.com/ide and try importing the module. If no error is thrown then module is available.

1 Like

I ran the following code on codechef.com/ide
import pip print(sorted(["%s==%s" % (i.key, i.version) for i in pip.get_installed_distributions()]))
Thanks to https://stackoverflow.com/a/23885252/8015602

apparently, I can’t copy paste the output in mobile. Check it yourself.
Weirdly, I don’t know why it has scikit-learn, pandas etc installed.

1 Like

The above code does show all the installed packages, I noticed numpy and scipy are missing. You can get the complete list (as far as I know) in Python 3.6 using

import pkg_resources
print(*pkg_resources.working_set, sep='\n')

As of now it shows this list.

1 Like

Indeed.

Congratulations for getting hired by Google. Good Luck! @meooow

1 Like