Python论坛  - 讨论区

标题:[python-chinese] 好消息!!!jython2.2 beta1 release!!!

2007年03月04日 星期日 18:06

boyeestudio boyee118在gmail.com
星期日 三月 4 18:06:38 HKT 2007

http://www.jython.org/Project/index.html

»¹ÓÐroadmap:http://www.jython.org/Project/roadmap.html
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070304/0b82fb00/attachment.html 

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

2007年03月04日 星期日 18:11

andy.bu在kodak.com andy.bu在kodak.com
星期日 三月 4 18:11:28 HKT 2007

²Î¿´IronPythonµÄ˵Ã÷ÎĵµÊÇ´óÖÂÊÇÕâÑù£º
import clr
import sys
sys.path.append("C# DLL µÄBin\DebugĿ¼") 
clr.AddReferenceByPatialName("WindowsApplication1")

¿ÉÊDz»¶Ô£¬ÓÐ´í£¬
Traceback (most recent call last):
  File , line 0, in input##118
  File , line 0, in AddReferenceByPartialName##113
RuntimeError: Could not add reference to assembly WindowsApplicatoin1


ÇëÄÄλÄÜ°ïÎÒ½âÊÍһϡ£Ð»Ð»£¡


Best Regards,
==============================
Kodak Health Group Global R&D; Center (Shanghai)
No. 27 Xin Jinqiao Road
Building 4 Jinqiao Software Park,
Shanghai, P.R.China 201206
Tel   :8621-50308810-5374
Mail : Andy.bu在Kodak.com
Building 4, Jinqiao Software Park, Shanghai 201206
==============================
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070304/5eb6925f/attachment.htm 

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

2007年03月04日 星期日 18:13

andy.bu在kodak.com andy.bu在kodak.com
星期日 三月 4 18:13:57 HKT 2007

¶¥Ò»Ï£¡£¡
ÓÖҪѧϰһÏÂÁË£¡£¡


Best Regards,
==============================
Kodak Health Group Global R&D; Center (Shanghai)
No. 27 Xin Jinqiao Road
Building 4 Jinqiao Software Park,
Shanghai, P.R.China 201206
Tel   :8621-50308810-5374
Mail : Andy.bu在Kodak.com
Building 4, Jinqiao Software Park, Shanghai 201206
==============================



boyeestudio <boyee118在gmail.com> 
Sent by: python-chinese-bounces在lists.python.cn
03/04/2007 06:06 PM
Please respond to
python-chinese在lists.python.cn


To
python-chinese在lists.python.cn
cc

Subject
[python-chinese] ºÃÏûÏ¢£¡£¡£¡jython2.2 beta1 release!!!






http://www.jython.org/Project/index.html
 
»¹ÓÐroadmap:http://www.jython.org/Project/roadmap.html
_______________________________________________
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

-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070304/7cdeb3e6/attachment.html 

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

2007年03月05日 星期一 14:42

麦田守望者 qcxhome在gmail.com
星期一 三月 5 14:42:03 HKT 2007

On 3/4/07, andy.bu at kodak.com <andy.bu at kodak.com> wrote:
>
> 参看IronPython的说明文档是大致是这样:
> import clr
> import sys
> sys.path.append("C# DLL 的Bin\Debug目录")
> clr.AddReferenceByPatialName("WindowsApplication1")
>
> 可是不对,有错,
> Traceback (most recent call last):
>   File , line 0, in input##118
>   File , line 0, in AddReferenceByPartialName##113
> RuntimeError: Could not add reference to assembly WindowsApplicatoin1
>
>
> 请哪位能帮我解释一下。谢谢!
>
>

use clr.AddReference() method

-- 
GoogleTalk: qcxhome at gmail.com
MSN: qcxhome at hotmail.com
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
中国分布式计算总站: www.equn.com

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

2007年03月06日 星期二 12:35

andy.bu在kodak.com andy.bu在kodak.com
星期二 三月 6 12:35:05 HKT 2007

ºÃÏñ»¹ÊDz»ÐУ¡£¡
> import clr
> import sys
> sys.path.append("C# DLL µÄBin\DebugĿ¼")
> clr.AddReference("
D:\\temp\\WindowsApplication1\\WindowsApplication1\\TestPythonLib\\bin\\Debug\\TestPythonLib.dll
")

Traceback (most recent call last):
  File , line 0, in input##123
  File , line 0, in AddReference##106
RuntimeError: Could not add reference to assembly D:\temp\Wind
ndowsApplication1\TestPythonLib\bin\Debug\TestPythonLib.dll

ÇëÔÙ˵µÄÏêϸһµã£¡Ð»Ð»£¡


Best Regards,
==============================
Kodak Health Group Global R&D; Center (Shanghai)
No. 27 Xin Jinqiao Road
Building 4 Jinqiao Software Park,
Shanghai, P.R.China 201206
Tel   :8621-50308810-5374
Mail : Andy.bu在Kodak.com
Building 4, Jinqiao Software Park, Shanghai 201206
==============================



"ÂóÌïÊØÍûÕß" <qcxhome在gmail.com> 
Sent by: python-chinese-bounces在lists.python.cn
2007-03-05 14:42
Please respond to
python-chinese在lists.python.cn


To
python-chinese在lists.python.cn
cc

Subject
Re: [python-chinese]    ÇëÎÊÔÚIronPythonÀïÔõÑùÒýÓÃÒ»¸öC#дµÄDLL






On 3/4/07, andy.bu在kodak.com <andy.bu在kodak.com> wrote:
>
> ²Î¿´IronPythonµÄ˵Ã÷ÎĵµÊÇ´óÖÂÊÇÕâÑù£º
> import clr
> import sys
> sys.path.append("C# DLL µÄBin\DebugĿ¼")
> clr.AddReferenceByPatialName("WindowsApplication1")
>
> ¿ÉÊDz»¶Ô£¬ÓÐ´í£¬
> Traceback (most recent call last):
>   File , line 0, in input##118
>   File , line 0, in AddReferenceByPartialName##113
> RuntimeError: Could not add reference to assembly WindowsApplicatoin1
>
>
> ÇëÄÄλÄÜ°ïÎÒ½âÊÍһϡ£Ð»Ð»£¡
>
>

use clr.AddReference() method

-- 
GoogleTalk: qcxhome在gmail.com
MSN: qcxhome在hotmail.com
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
Öйú·Ö²¼Ê½¼ÆËã×ÜÕ¾: www.equn.com
_______________________________________________
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

-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070306/b52ccb3c/attachment.htm 

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

2007年03月06日 星期二 12:49

麦田守望者 qcxhome在gmail.com
星期二 三月 6 12:49:37 HKT 2007

On 3/6/07, andy.bu at kodak.com <andy.bu at kodak.com> wrote:
>
>
> 好像还是不行!!
> > import clr
> > import sys
> > sys.path.append("C# DLL 的Bin\Debug目录")
> > clr.AddReference
> ("D:\\temp\\WindowsApplication1\\WindowsApplication1\\TestPythonLib\\bin\\Debug\\TestPythonLib.dll")
>
> Traceback (most recent call last):
>   File , line 0, in input##123
>   File , line 0, in AddReference##106
> RuntimeError: Could not add reference to assembly D:\temp\Wind
> ndowsApplication1\TestPythonLib\bin\Debug\TestPythonLib.dll
>
> 请再说的详细一点!谢谢!
>

例如你的dll在d:\mycode
文件名是mycomponent.dll

import sys
sys.path.append("d:\\mycode")
import clr
clr.AddReference("mycomponent.dll")

-- 
GoogleTalk: qcxhome at gmail.com
MSN: qcxhome at hotmail.com
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
中国分布式计算总站: www.equn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20070306/1761798b/attachment.html 

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号