I wrote a code in python on my laptop and it asked me for the encoding what should i use and should I use.Py or.exe as extension | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

I wrote a code in python on my laptop and it asked me for the encoding what should i use and should I use.Py or.exe as extension

4th Jan 2019, 11:00 AM
Webster
Webster - avatar
2 Réponses
+ 3
Standard encoding should be UTF-8. You usually don't have to change anything about the encoding.
4th Jan 2019, 12:56 PM
Anna
Anna - avatar
0
Are you running using ./prog.py? If so, you need to insert the path of python at the start of script, something like #!/usr/bin/python3
4th Jan 2019, 1:20 PM
Bebida Roja
Bebida Roja - avatar