摘要:
temp='旺旺' temp_utf-8=temp.decode('utf-8') temp_gbk=temp_utf-8.encode('gbk') print(temp_gbk) 阅读全文
摘要:
str.center(width[, fillchar]) Return centered in a string of length width. Padding is done using the specified fillchar (default is an ASCII space). T 阅读全文