+ 1

How do i import pygame and other libraries in sololearn app??

import pygame import pytextrenderer (user-defined module) does not seem to work no module named pygame

5th Apr 2017, 11:53 AM
Rijul Sharma
Rijul Sharma - avatar
1 Answer
+ 5
You can't do it. Sololearn's CP is a virtual environment with some 1MB of memory and some modules embedded into it. Also, it's a sandbox, in which we cannot import any external modules.
5th Apr 2017, 12:10 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar