Python question answer

filename unicode  
filename.encode("utf-8").decode("unicode_escape")

"2018Prime.pdf"

Jun.11,2021

unicode_escape prints out the native string, including quotation marks.


the printed content is a string, so the quotation marks come out

.
Menu