[FZH] 请教一个编程问题

Mike Manilone crtmike at gmx.us
Sat Jul 7 04:47:26 UTC 2012


scanf "%X %X %X %X"
printf "%d %d %d %d" ?


於 六,2012-07-07 於 10:24 +0800,杜宏羽 提到: 
> 有一个csv表格,其中的数据如下:
> 第一次 第二次 第三次 第四次
> 24EF19 257F9F 3A4592 3A1649
> 258049 251DB8 39EDA9 39EFA9
> 25819E 252D09 3A3995 3A44E8
> 2537B1 258D9B 3A7586 3AAC22
> .
> .
> .
> N多行的数值,这些数值都是十六进制数,现在我需要将其都转换成10进制数,请问需要如何做?最好是python的解决方法,C的也OK。
> 
> THX各位
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese

-------------- 下一部分 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/chinese/attachments/20120707/d32e7842/attachment.sig>


More information about the Chinese mailing list