from __future__ import unicode_literals


print(type("test")) #<type 'unicode'>

Chinatest="测试"

print(Chinatest[1:2]) #输出“试”

相关文章:

  • 2022-02-06
  • 2022-02-25
  • 2021-07-30
  • 2022-02-04
  • 2021-12-30
  • 2022-02-08
  • 2021-04-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-03-14
  • 2021-10-02
  • 2021-05-31
  • 2021-05-07
  • 2022-02-25
相关资源
相似解决方案