V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
zhijiansha
V2EX  ›  Python

python 十六进制如何转换成中文???

  •  
  •   zhijiansha · 2016-09-14 21:21:50 +08:00 · 1970 次点击
    这是一个创建于 2752 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    2 条回复    2016-09-15 23:11:17 +08:00
    whwq2012
        1
    whwq2012  
       2016-09-14 22:07:17 +08:00 via Android   ❤️ 1
    文件名.encode(`utf-8`)
    Arthur2e5
        2
    Arthur2e5  
       2016-09-15 23:11:17 +08:00
    > 也没办法删帖好像,重新发帖

    V2EX 里面是可以给自己发的主题追加内容的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3699 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:13 · PVG 08:13 · LAX 17:13 · JFK 20:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.