list of third party modules of python allowed in codechef?
Go to Compile and run the code with online compiler and IDE | CodeChef and try importing the module. If no error is thrown then module is available.
I ran the following code on Compile and run the code with online compiler and IDE | CodeChef
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.
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.
I hope this might be helpful