7 Answers
New AnswerYou ca do it with: import <module name> If you get an error message, the desired module is not available or can not be used.
RaHulk YT, did you try to import tkinter within SL or on a local python installation with also a local IDE?
ok, you can try to find out, if the required modules are installed on your installation. Just go to the python console and type : help(modules) #---> then hit Return this will list all modules, the most are coming with the basic python installation, the others are from individual installation with python pip.
If tkinter gives you an error, you probably either are importing with the wrong name or you don't have it installed. I once ran across some problems because when I installed python it didn't install tkinter. Maybe look for a solution to that at stack overflow, it sure helped me. I hope you can find the answer!
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message