python reports ValueError: invalid \x escape

The reason for the error: python defaults to hexadecimal data after \x

Solution: When the path contains "\x", the file path is connected with "\\" under Windows system

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324653270&siteId=291194637