Which one is valid ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which one is valid ?

To declare that Windows-1252 encoding is to be used, the first line of your source code file should be: # -*- coding: cp1252 -*- with comment -*- coding: cp1252 -*- without comment

1st Aug 2020, 7:37 AM
Rajan K
Rajan K - avatar
0 Answers