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
Ritter
V2EX  ›  Python

Python3 里面 u 和 U 的区别是什么

  •  
  •   Ritter · 2020-03-24 10:11:51 +08:00 · 3200 次点击
    这是一个创建于 1492 天前的主题,其中的信息可能已经有所发展或是发生改变。

    8baSFP.png
    搜索了一下好像没找到有关于这方面的

    11 条回复    2020-03-25 02:02:47 +08:00
    Ritter
        2
    Ritter  
    OP
       2020-03-24 10:27:21 +08:00
    @ifzzzh 谢谢 明白了 \u 后面只能加固定长度为 4 的十六进制字符 \U 后面只能加固定长度为 8 的十六进制字符
    keygen88
        3
    keygen88  
       2020-03-24 10:42:40 +08:00
    你的头像看着挺有意思的
    cev2
        4
    cev2  
       2020-03-24 10:48:19 +08:00
    这个头像好像在 B 站见过
    lvchaa
        5
    lvchaa  
       2020-03-24 10:56:39 +08:00
    这个头像好像会打篮球
    RedisMasterNode
        6
    RedisMasterNode  
       2020-03-24 11:41:38 +08:00
    这个头像好像能自动播放 BGM
    Ritter
        7
    Ritter  
    OP
       2020-03-24 14:04:35 +08:00
    大家怎么对我头像感兴趣 我头像有问题吗 (滑稽
    wangyzj
        8
    wangyzj  
       2020-03-24 14:24:43 +08:00
    来段 rap 先
    smallgoogle
        9
    smallgoogle  
       2020-03-24 14:57:26 +08:00
    这个头像可以边打篮球边 rap
    sugarkeek
        10
    sugarkeek  
       2020-03-24 20:28:24 +08:00
    talk is cheap show me the rap.
    开个玩笑,学到了一个知识
    drizztdu
        11
    drizztdu  
       2020-03-25 02:02:47 +08:00 via iPhone
    a er
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3253 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:22 · PVG 20:22 · LAX 05:22 · JFK 08:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.