+ 1
How would I install modules in this app while coding
I want to install playsound module for a python program . But don't know how to import this module
3 odpowiedzi
+ 2
Sololearn does not support most modules. You can use replit for working with programs related to modules.
https://www.sololearn.com/discuss/2579183/?ref=app
https://www.sololearn.com/discuss/2821809/?ref=app
https://www.sololearn.com/discuss/2793136/?ref=app
https://www.sololearn.com/discuss/2711989/?ref=app
+ 2
You can install any package but be careful the sololearn compiler don't import lengthy package
https://code.sololearn.com/ct11TWwj9uAj/?ref=app
hope it's helpful to you
0
#try this code:
import os
module_name = input()
os.system(f"pip install {module_name}")