+ 8
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 https://code.sololearn.com/c7X2WAze8PwZ/?ref=app
6 Réponses
+ 2
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
https://code.sololearn.com/cNYrJgKiu93y/?ref=app
https://code.sololearn.com/c5XcL497pu4C/?ref=app
+ 5
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.
+ 2
OR!ON 🛡️ Thanks.
+ 2
OR!ON 🛡️ Great codes you have attached. 👍
+ 2
@Black Jesus check the code -> Platform Information 🙂👆
+ 1
Lothar Hi. I have tried a few google enquiries but have not found anything which makes sense.
Hoping someone might know