Python论坛  - 讨论区

标题:[python-chinese] Interesting topic "Why is Java more popular than Python?"

2004年08月03日 星期二 10:16

2004年08月03日 星期二 10:33

info at xichen.com info at xichen.com
Tue Aug 3 10:33:41 HKT 2004

Zoom.Quiet,您好!

	会不会不兼容?和想用其他语言而要用这个协议开发的程序。

======= 2004-08-03 10:22:54 您在来信中写道:=======

>Hollo HD:
>
>  嘿嘿嘿!在下倾向于直接使用Python pickle模块,
>将信息元组,或是其它数据,操作对象生成字节串进行传送,反正都是Python 程序,直接就可以解析为标准的Python 对象进行使用!
>
>可行否?效率上??
>
>
>/******** [2004-08-03]10:13:51 ; HD wrote:
>
>HD> 呵呵,文本的解析太麻烦,不如bin用着爽 :)
>HD> 其实8个字节就解决了文本情况下的命令识别、换行符和间隔符的问题,不是很爽的事吗?
>
>HD> On Tue, 3 Aug 2004 10:06:27 +0800, Xie Yanbo <idkey at 163.com> wrote:
>>> On 2004-08-03 09:45:1091497519 +0800, HD wrote:
>>> >
>>> 呵呵,在smpp中就是变长的字段,但是变长字段一定会有一个size的。作法就是将前面的解完,然后读长度,取出来再unpack不就成了。
>>> >
>>> 还有就是现在pack和unpack都是自己可以随意写的,哪么就看你是不是想写成一个通用的写法了。
>>> 
>>> 我们的协议不必非设计成 bin 的数据包吧,用纯文本的不成吗?也方便人
>>> 调测。
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> python-chinese list
>>> python-chinese at lists.python.cn
>>> http://python.cn/mailman/listinfo/python-chinese
>>> 
>
>
>
>
>********************************************/
>
>-- 
>Free as in Freedom
>
> Zoom.Quiet                           
>
>#=========================================#
>]Time is unimportant, only life important![
>#=========================================#
>
>sender is the Bat!2.12.00
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        info
        info at xichen.com
          2004-08-03


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

2004年08月03日 星期二 11:02

sun.haitao at zte.com.cn sun.haitao at zte.com.cn
Tue Aug 3 11:02:14 HKT 2004

请问如何将诸如winpcap之类的大型模块进行扩展做成.pyd?因为一两个单独的函数模
块好做,这样大型的东东岂不是要做很多工作?请指点一二,谢谢!


Regards,
Sun Haitao

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号