NLL
V2EX  ›  问与答

python 十六进制如何转换成中文,重发帖

  •  
  •   NLL · Sep 14, 2016 · 2172 views
    This topic created in 3534 days ago, the information mentioned may be changed or developed.

    https://coding.net/u/zhijiansha/p/python__text/git/raw/master/dianyingtiantang.py 代码在上面,运行错误提示在最下面

    不好意思,前面发的帖子,贴的代码格式好像没保存,也没办法删帖好像,重新发帖

    1 replies    2016-09-14 21:45:52 +08:00
    samcode
        1
    samcode  
       Sep 14, 2016   ❤️ 1
    path = str(y).decode('utf8').encode('gbk')
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4547 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:54 · PVG 17:54 · LAX 02:54 · JFK 05:54
    ♥ Do have faith in what you're doing.