7 Réponses
+ 4
In code playground you are limited to text output (command line scripts), and you cannot install any module...
Panda isn't provided by sololearn as it use a GUI environment, not CLI ^^
Anyway, modules not provided by sololearn code playground cannot be installed, even if they are CLI modules ;P
+ 3
Some modules are pre-installed so you've just to import them, but others aren't and need to be installed before able to be imported ^^
Panda library is probably not installed by default, so you must install it ;) (mostly you can use the Python installer 'pip' or install it through OS Installer -- exe on windows...)
+ 2
To use Python command line interpreter, open a terminal (console -- for windows run 'cmd') and just execute 'python' without providing any script file name as parameter...
However, 'python' can refer to any version of Python: you need also to be sure of the version used (usually Python3 is referenced as 'python3' when both versions are installed), wich is shown at start of command line interpreter ;)
Obviously, it require to have python installed (mostly for windows users, as unix-like tend to have it preinstalled) and it's not possible in sololearn code playground ^^
0
If you want to import modules use import nameofthemodule
0
Thank you for the feedback. I was trying to import pandas package but it don't work.
0
I am running python using Sololearn python cmd on my android phone. can I still use pip or install and get the pandas or other packages installed ?
0
Thanks