Python unichr() 函数
Python 教程
· 2019-02-01 18:56:47
描述
unichr() 函数 和 chr()函数功能基本一样, 只不过是返回 unicode 的字符。
语法
以下是 unichr() 方法的语法:
unichr(i)
参数
- i -- 可以是10进制也可以是16进制的形式的数字。
返回值
返回 unicode 的字符。
实例
以下展示了使用 unichr() 方法的实例:
>>>unichr(97)
u'a'
>>> unichr(98)
u'b'
>>> unichr(99)
u'c'
点击查看所有 Python 教程 文章: https://codercto.com/courses/l/8.html
PHP Cookbook
Adam Trachtenberg、David Sklar / O'Reilly Media / 2006-08-01 / USD 44.99
When it comes to creating dynamic web sites, the open source PHP language is red-hot property: used on more than 20 million web sites today, PHP is now more popular than Microsoft's ASP.NET technology......一起来看看 《PHP Cookbook》 这本书的介绍吧!