Import sys, codecs not required? | Sololearn: Learn to code for FREE!


Import sys, codecs not required?

Recently, I have noticed codes using codecs have not been importing sys, codecs and other bits and pieces of script, yet are still functional. What has changed? Is this part of Python 3.8 or something else. Example attached

11/8/2019 8:00:04 AM

Rik Wittkopp

7 Answers

New Answer


Because of Linux support may be! SL mobile switched it server to Linux recently, previously it was running on Windows, although SL website is still running on Windows server and Python 3.7


Rik, you are right, something might have changed. I tried a code file that created an error few weeks ago. It does run properly now without using codecs.


OR!ON πŸ›‘οΈ how did u know?


OR!ON πŸ›‘οΈ Thanks.


OR!ON πŸ›‘οΈ Great codes you have attached. πŸ‘


@Black Jesus check the code -> Platform Information πŸ™‚πŸ‘†


Lothar Hi. I have tried a few google enquiries but have not found anything which makes sense. Hoping someone might know