2008年03月05日 星期三 03:32
×î½üÏëÔÚDreamhostÉÏÓÃDjango£¬µ«ÓÖ²»ÖªµÀÎȶ¨ÐÔ£¬ËÙ¶ÈÈçºÎ£¿ËÓùý£¿ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080304/3d8abbc4/attachment.htm
2008年03月05日 星期三 15:14
有个用C写的程序,现在想用Python改写客户端。碰到如下问题:
C程序里面有一个嵌套的结构
struct yj1 {
int cmd;
struct yj2 y;
};
这个结构要以一条消息发给服务器端(还是C程序)。不知该怎么作。
Python 的 struct module 没有提到如何解决struct 嵌套的问题。
多谢各位!
在 2008-1-17,下午10:18,小龙 写道:
> 能给个search的例子么~ 谢谢
> --
> deSign thE fuTure
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-
> request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
Zeuux © 2025
京ICP备05028076号