+ 1

Python modules

Is there anyway we can practice, or even create programs on sololearn using the python modules or we only have to use vanilla python

26th Jan 2025, 6:33 AM
Kaggwa Kevin
Kaggwa Kevin - avatar
8 ответов
+ 2
Kaggwa Kevin , here is a link to a code (done by @Jan Markus) that may help you. it shows modules that can be imported. https://sololearn.com/compiler-playground/ciWYqQ2pC5c7/?ref=app
26th Jan 2025, 7:48 PM
Lothar
Lothar - avatar
+ 2
Thanks Lothar , I couldn't remember who had done it or the name of the code.
26th Jan 2025, 9:14 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Lothar Just tried running that from Code Playground in Android mobile app and it failed to compile.
27th Jan 2025, 3:09 AM
Shardis Wolfe
+ 1
Shardis Wolfe , when running the attached code (in my post) as it is in playground, it will run properly. which error do you get?
27th Jan 2025, 10:32 AM
Lothar
Lothar - avatar
0
Some modules are readily available in Code Playground if you import them. Like this import math import re
26th Jan 2025, 11:09 AM
Shardis Wolfe
0
Lothar First several times I ran it, I only received a list of errors. Mostly for nltk, Tkinter, twython Now when I run it, I get a list of modules followed by list of errors at the end. No idea why the list of modules failed to print the first few times I ran the code.
27th Jan 2025, 10:48 AM
Shardis Wolfe
0
Shardis Wolfe , is your device running the latest version of operating system, also check if sololearn app is the latest release. is your internet connection is stable?
27th Jan 2025, 11:45 AM
Lothar
Lothar - avatar