Python论坛  - 讨论区

标题:[python-chinese] 请问关于数据类型转换

2006年06月05日 星期一 17:22

Max Wang cmaxvv at gmail.com
Mon Jun 5 17:22:31 HKT 2006

如何将数值转换为字符(数值为字符的编码值)?如何获得字符的ASCII编码值?

-- 
Loading ...

HTTP request sent, waiting response… 202 Accepted

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月05日 星期一 17:38

salty liu salty8338 at gmail.com
Mon Jun 5 17:38:04 HKT 2006

ord是将ascii码转化为数值,chr将数值转化成ascii!

2006/6/5, Max Wang <cmaxvv at gmail.com>:
>
> 如何将数值转换为字符(数值为字符的编码值)?如何获得字符的ASCII编码值?
>
> --
> Loading ...
>
> HTTP request sent, waiting response… 202 Accepted
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060605/fd1b67ea/attachment-0001.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月05日 星期一 17:42

Max Wang cmaxvv at gmail.com
Mon Jun 5 17:42:27 HKT 2006

ok,
谢谢

On 6/5/06, salty liu <salty8338 at gmail.com> wrote:
> ord是将ascii码转化为数值,chr将数值转化成ascii!
>
> 2006/6/5, Max Wang <cmaxvv at gmail.com>:
> >
>  如何将数值转换为字符(数值为字符的编码值)?如何获得字符的ASCII编码值?
>
> --
> Loading ...
>
> HTTP request sent, waiting response… 202 Accepted
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
Loading ...

HTTP request sent, waiting response… 202 Accepted

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号