+ 1

how can i install python modules in Solo Learn code playground section?

like these modules: import requests from gtts import gTTS import pyglet from tkinter import * from datetime import date import playsound

24th Feb 2021, 12:23 PM
Shrey Ruhela
Shrey Ruhela - avatar
1 Answer
0
tkinter nor any gui frameworks could not run through sololearn (only CLI, in specific conditions: no real time interraction). however, not (yet) available modules on sololearn server could be installed through os.system call (or even subprocess module) to run 'pip install module_name', as soon as instalation process doesn't consume your few execution time ;)
24th Feb 2021, 3:42 PM
visph
visph - avatar