Python论坛  - 讨论区

标题:=?GB2312?Q?Re: Re: [python-chinese] =C8=E7=BA=CE=D4=DAPython=D6=D0=B5=F7=D3=C3C++=B6=AF=CC=AC=C1=B4=BD=D3=BF=E2?=

2005年05月25日 星期三 20:18

BaoYongjun byj at net.pku.edu.cn
Wed May 25 20:18:39 HKT 2005

alang yin,您好!

	写扩展要什么源码啊 真是 又没有让你包装整个函数库  如果只是调用dll中的几个函数的话 用python的c扩展包装一下就可以了 自己查查资料很easy的

======= 2005-05-25 09:34:00 您在来信中写道:=======

>我的两种方法:
>
>方法1、建议用Ctypes库,在sf.net上找ctypes。
>
>下面给一个它自己的例子:
>from ctypes import windll, byref, c_int
>from ctypes.wintypes import DWORD, MSG
>
># To receive events, we have to run a message loop:
>def pump_messages():
>    user32 = windll.user32 
>     ###看这里。就这样用!如果是自己的dll,你看看它的文档,怎么把dll引入
>    msg = MSG()
>    while user32.GetMessageA(byref(msg), None, 0, 0):
>        user32.TranslateMessage(byref(msg))
>        user32.DispatchMessageA(byref(msg))
>
>方法2、用python for win32 库,然后用标准的win32api:LoadLibrary(...),把dll引入进来。
>
>当然,前面有人说自己写个python的扩展,当然行得通,就怕你这个dll没有源码,么样个搞法,我不清楚。自己看看吧。
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese

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

        致
礼!
 
				 
        BaoYongjun
        byj at net.pku.edu.cn
          2005-05-25



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

2005年05月25日 星期三 23:51

Wotlitn clay528 at 163.com
Wed May 25 23:51:45 HKT 2005

python-chinese,您好!

	关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给谁?让大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还有一点,用Win方式还是用Command方式好呢?

        致
礼!
 				

        Wotlitn
        clay528 at 163.com
          2005-05-25

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

2005年05月26日 星期四 08:27

cuiyl guxinghan1981 at hotmail.com
Thu May 26 08:27:56 HKT 2005

问的问题从来没有人回答,都是自动回复,要不就是垃圾,要这个邮件列表有什么用?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050526/03124234/attachment.htm

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

2005年05月26日 星期四 08:47

Ankh Chen ankhnews at 163.com
Thu May 26 08:47:09 HKT 2005

咋就没人回答呢?
 
我以前一个很弱智的问题,还麻烦了列表好多封邮件,现在还心存感激。
 
只是我现在水平很差,大家的问题我只有默默的看 :-)

  _____  

From: python-chinese-bounces at lists.python.cn
[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of cuiyl
Sent: Thursday, May 26, 2005 8:28 AM
To: python chinese
Subject: [python-chinese] 邮件列表


问的问题从来没有人回答,都是自动回复,要不就是垃圾,要这个邮件列表有什么用?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050526/f8e2932f/attachment.html

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

2005年05月26日 星期四 08:51

Neo Chan neo.chen at achievo.com
Thu May 26 08:51:08 HKT 2005

对应Python手册的章节,我们给每一个function 写一个例子。

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050526/9ae1573e/attachment.htm

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

2005年05月26日 星期四 09:04

Sizkim sizkim at 163.com
Thu May 26 09:04:47 HKT 2005

你不是已经发给所有人了么 :)

在 Wed, 25 May 2005 23:51:45 +0800,Wotlitn <clay528 at 163.com> 写道:

> python-chinese,您好!
>
> 	关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给谁?让 
> 大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还 
> 有一点,用Win方式还是用Command方式好呢?
>
>         致
> 礼!
>  				
>
>         Wotlitn
>         clay528 at 163.com
>           2005-05-25



-- 
自动收信时间: 57分钟
http://www.opera.com/mail/


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

2005年05月26日 星期四 10:27

Ankh Chen ankhnews at 163.com
Thu May 26 10:27:50 HKT 2005

Python手册? 
    是Python Cookbook 么?

  _____  

From: python-chinese-bounces at lists.python.cn
[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of Neo Chan
Sent: Thursday, May 26, 2005 8:51 AM
To: python-chinese at lists.python.cn
Subject: [python-chinese] 我有一个想法,我们做一个Python手册伴侣如何。



对应Python手册的章节,我们给每一个function 写一个例子。

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050526/2751689e/attachment.htm

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

2005年05月26日 星期四 10:40

ella wang ella at exoweb.net
Thu May 26 10:40:59 HKT 2005

Hi, Wotlitn
python2.4 for win , your OS is windows ? if windows , I think it's
indifferent not matter to use command or GUI.
if under Linux , it is more convenient to use GUI . it's useful for me,
since I can't remember so many command .
e.g.  if you use Vi, but you don't know ":q" is for exit , and ":wq" is
save first and then exit . you will feel more anxious :)
if I said isn't correct , don't laugh at me ;)

On Thu, 2005-05-26 at 09:04 +0800, Sizkim wrote:
> 你不是已经发给所有人了么 :)
> 
> 在 Wed, 25 May 2005 23:51:45 +0800,Wotlitn <clay528 at 163.com> 写道:
> 
> > python-chinese,您好!
> >
> > 	关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给谁?让 
> > 大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还 
> > 有一点,用Win方式还是用Command方式好呢?
> >
> >         致
> > 礼!
> >  				
> >
> >         Wotlitn
> >         clay528 at 163.com
> >           2005-05-25
> 
> 
> 


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

2005年05月26日 星期四 11:46

limodou limodou at gmail.com
Thu May 26 11:46:14 HKT 2005

问的问题并非没有人回答,有些问题答不出来是很正常的。有回答的邮件占绝大多数。自动回复也是个别人。如果你只看到了这些,这个列表对你真是的没有用。

在 05-5-26,cuiyl<guxinghan1981 at hotmail.com> 写道:
>  
> 问的问题从来没有人回答,都是自动回复,要不就是垃圾,要这个邮件列表有什么用? 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou
New Google Maillist: http://groups-beta.google.com/group/python-cn

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

2005年05月26日 星期四 15:28

Leslie Huyan leslie at exoweb.net
Thu May 26 15:28:31 HKT 2005

Ella:
Cool!
Background is that ella is a beautiful female programmer.

Leslie
ella wang wrote:

>Hi, Wotlitn
>python2.4 for win , your OS is windows ? if windows , I think it's
>indifferent not matter to use command or GUI.
>if under Linux , it is more convenient to use GUI . it's useful for me,
>since I can't remember so many command .
>e.g.  if you use Vi, but you don't know ":q" is for exit , and ":wq" is
>save first and then exit . you will feel more anxious :)
>if I said isn't correct , don't laugh at me ;)
>
>On Thu, 2005-05-26 at 09:04 +0800, Sizkim wrote:
>  
>
>>你不是已经发给所有人了么 :)
>>
>>在 Wed, 25 May 2005 23:51:45 +0800,Wotlitn <clay528 at 163.com> 写道:
>>
>>    
>>
>>>python-chinese,您好!
>>>
>>>	关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给谁?让 
>>>大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还 
>>>有一点,用Win方式还是用Command方式好呢?
>>>
>>>        致
>>>礼!
>>> 				
>>>
>>>        Wotlitn
>>>        clay528 at 163.com
>>>          2005-05-25
>>>      
>>>
>>
>>    
>>
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>
>  
>


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

2005年05月26日 星期四 16:05

Frank gavin at sz.net.cn
Thu May 26 16:05:02 HKT 2005

非常好的建议,现在的python手册缺少的就是这点!!!



  ----- Original Message ----- 
  From: Neo Chan 
  To: python-chinese at lists.python.cn 
  Sent: Thursday, May 26, 2005 8:51 AM
  Subject: [python-chinese] 我有一个想法,我们做一个Python手册伴侣如何。


  对应Python手册的章节,我们给每一个function 写一个例子。

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050526/9aa8cfa9/attachment.htm

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

2005年05月26日 星期四 23:47

ankhchen ankhnews at 163.com
Thu May 26 23:47:42 HKT 2005

Who cares whatever she is?

If she can solve problems, then she's great.

People won't be seeking for GF in such a list.

Am I going to be kicked out of this list because of talking about sth
irrelevant to python? :-)

-----
Ankh Chen

-----Original Message-----
From: python-chinese-bounces at lists.python.cn
[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of Leslie Huyan
Sent: Thursday, May 26, 2005 3:29 PM
To: python-chinese at lists.python.cn
Subject: Re: [python-chinese] ??

Ella:
Cool!
Background is that ella is a beautiful female programmer.

Leslie
ella wang wrote:

>Hi, Wotlitn
>python2.4 for win , your OS is windows ? if windows , I think it's 
>indifferent not matter to use command or GUI.
>if under Linux , it is more convenient to use GUI . it's useful for me, 
>since I can't remember so many command .
>e.g.  if you use Vi, but you don't know ":q" is for exit , and ":wq" is 
>save first and then exit . you will feel more anxious :) if I said 
>isn't correct , don't laugh at me ;)
>
>On Thu, 2005-05-26 at 09:04 +0800, Sizkim wrote:
>  
>
>>你不是已经发给所有人了么 :)
>>
>>在 Wed, 25 May 2005 23:51:45 +0800,Wotlitn <clay528 at 163.com> 写道:
>>
>>    
>>
>>>python-chinese,您好!
>>>
>>>	关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给
谁?让
>>>大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还
>>>有一点,用Win方式还是用Command方式好呢?
>>>
>>>        致
>>>礼!
>>> 				
>>>
>>>        Wotlitn
>>>        clay528 at 163.com
>>>          2005-05-25
>>>      
>>>
>>
>>    
>>
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
>
>  
>

_______________________________________________
python-chinese list
python-chinese at lists.python.cn
http://python.cn/mailman/listinfo/python-chinese




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

2005年05月27日 星期五 01:41

limodou limodou at gmail.com
Fri May 27 01:41:40 HKT 2005

How do you know that? I don't know her, and I even don't know it's he or she.

在 05-5-26,Leslie Huyan<leslie at exoweb.net> 写道:
> Ella:
> Cool!
> Background is that ella is a beautiful female programmer.
> 
> Leslie
> ella wang wrote:
> 
> >Hi, Wotlitn
> >python2.4 for win , your OS is windows ? if windows , I think it's
> >indifferent not matter to use command or GUI.
> >if under Linux , it is more convenient to use GUI . it's useful for me,
> >since I can't remember so many command .
> >e.g.  if you use Vi, but you don't know ":q" is for exit , and ":wq" is
> >save first and then exit . you will feel more anxious :)
> >if I said isn't correct , don't laugh at me ;)
> >
> >On Thu, 2005-05-26 at 09:04 +0800, Sizkim wrote:
> >
> >
> >>你不是已经发给所有人了么 :)
> >>
> >>在 Wed, 25 May 2005 23:51:45 +0800,Wotlitn <clay528 at 163.com> 写道:
> >>
> >>
> >>
> >>>python-chinese,您好!
> >>>
> >>>     关于这个邮件方式的交流我还不知道怎么用,怎么样才能发邮件给别人,发给谁?让
> >>>大家都看到,也得到反馈的信息呢?我才开始学Python,用的是Python2.4 For Win.还
> >>>有一点,用Win方式还是用Command方式好呢?
> >>>
> >>>        致
> >>>礼!
> >>>
> >>>
> >>>        Wotlitn
> >>>        clay528 at 163.com
> >>>          2005-05-25
> >>>
> >>>
> >>
> >>
> >>
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 


-- 
I like python! 
My Donews Blog: http://www.donews.net/limodou
New Google Maillist: http://groups-beta.google.com/group/python-cn

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号