0

How do you import files to SoloLearn? (PYTHONNNNNNNNN!)

How do you import files to SoloLearn?

21st Nov 2020, 4:23 AM
:DD
:DD - avatar
2 Respuestas
+ 6
You can't use/import local files to sololearn.
21st Nov 2020, 4:48 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 1
Sololearn playground is not fully functional. For example GUI programming or other third party libraries. But this will help import sys import subprocess def install(package): subprocess.call([sys.executable, "-m","pip","-q", "--disable-pip-version-check", "install", package]) So you can just install any module using the install function like install("cryptography")
21st Nov 2020, 7:06 AM
Sudo
Sudo - avatar