How to import a custom module in sololearn (for python) ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to import a custom module in sololearn (for python) ?

I've benn trying to use my own created modules in sololearn but I can't find the sololearn directory to move the file onto . I even checked and tried it online, but they don't work. Any suggestions on how to do this?

8th Jan 2019, 5:51 PM
Shubham Tiwary
Shubham Tiwary - avatar
1 Answer
0
is it possible? the sandbox is a limited tool. for instance, in c++, the declaration goes in a file and the implementation in another, yet the codes i see contains everything. it probably depends on the system behind, but i don’t think you will be able to develop like you are in a proper IDE environment. the web is an exception if you can have javascript file online, you can refer them in your sansbox code.
8th Jan 2019, 6:46 PM
Florent
Florent - avatar