Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
[SOLVED]What does this code?I don't understand.
This is the code.I found that on the internet,I runned it on SL and nothing changed.Can someone please help me?
3 Réponses
+ 5
Coder0008 are you referring to this code in your Code Bits?
https://sololearn.com/compiler-playground/cchI8KnTqYZU/?ref=app
It retrieves the list of disk paths where Python looks to find modules. Then it overrides the default path (path[0]), which normally would be the same folder where the program is running from. Finally, it prints all the contents of the path list. Beware that Sololearn's batch script modifies the output to replace actual paths with a mask that hides the true paths. That is why you see "\Playground\" in the paths.
+ 2
Where is the code?
+ 1
Brian thanks!