In the python book (《Python Programming from entry to practice 》 The first 2 edition )10.3.5 There is a sentence in it , That is to say :“ When the default code of the system is inconsistent with the code of the file to be read , This must be done .”(“ To do so ” Is a function encoding Specify a value ) What does this code mean ? So what are the regulations when assigning this parameter ? What value should be assigned ? What is the difference between assignment and non assignment ? I hope you can give me a beginner who has just started and a better answer ,thanks