弱弱的问个ironpython的问题

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

弱弱的问个ironpython的问题

mghohoo-2
请问ironpython能用到python的lib么?例如sgmllib
如果是底层支持了,应该没有太大问题,对吧?
 

mghohoo
2007-09-17

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 弱弱的问个ironpython的问题

Neil(木野狐)
目前可以支持一部分。

在 07-9-17,mghohoo<[hidden email]> 写道:

>
>
> 请问ironpython能用到python的lib么?例如sgmllib
> 如果是底层支持了,应该没有太大问题,对吧?
>
>  ________________________________
>
> mghohoo
> 2007-09-17
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to
> [hidden email]
> Unsubscribe: send unsubscribe to
> [hidden email]
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 弱弱的问个ironpython的问题

tkdchen
In reply to this post by mghohoo-2
On 9/17/07, mghohoo <[hidden email]> wrote:
>
>
> 请问ironpython能用到python的lib么?例如sgmllib
> 如果是底层支持了,应该没有太大问题,对吧?
>

对于用Python实现的模块能够支持,对于基于C实现的模块就不行了。IronPython的Tutorial中说明了如何使用CPython的某些模块。

--
GoogleTalk: [hidden email]
MSN: [hidden email]
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
中国分布式计算总站: www.equn.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 弱弱的问个ironpython的问题

mghohoo-2
但是。。。遇到这个问题了
 
Traceback (most recent call last):
  File F:\workspace\SearchData\src\Search\test.py, line 3, in Initialize
  File , line 0, in _stub_##2
ImportError: No module named urllib
 

mghohoo
2007-09-19

发件人: tkdchen
发送时间: 2007-09-19 08:50:53
收件人: [hidden email]
抄送:
主题: Re: [python-chinese]弱弱的问个ironpython的问题
 
On 9/17/07, mghohoo  <[hidden email] > wrote:
>
>
> 请问ironpython能用到python的lib么?例如sgmllib
> 如果是底层支持了,应该没有太大问题,对吧?
>
 
对于用Python实现的模块能够支持,对于基于C实现的模块就不行了。IronPython的Tutorial中说明了如何使用CPython的某些模块。
 
-- 
GoogleTalk: [hidden email]
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
中国分布式计算总站: www.equn.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 弱弱的问个ironpython的问题

Samuel Ji


在07-9-19,mghohoo <[hidden email]> 写道:
但是。。。遇到这个问题了
 
Traceback (most recent call last):
  File F:\workspace\SearchData\src\Search\test.py, line 3, in Initialize
  File , line 0, in _stub_##2
ImportError: No module named urllib

提示的很清楚啊:没有找到urllib


mghohoo
2007-09-19

发件人: tkdchen
发送时间: 2007-09-19 08:50:53
收件人: [hidden email]
抄送:
主题: Re: [python-chinese]弱弱的问个ironpython的问题
 
On 9/17/07, mghohoo  <[hidden email] > wrote:
>
>
> 请问ironpython能用到python的lib么?例如sgmllib
> 如果是底层支持了,应该没有太大问题,对吧?
>
 
对于用Python实现的模块能够支持,对于基于C实现的模块就不行了。IronPython的Tutorial中说明了如何使用CPython的某些模块。
 
-- 
GoogleTalk: [hidden email]
My Space: <a href="http://tkdchen.spaces.live.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tkdchen.spaces.live.com
BOINC: <a href="http://boinc.berkeley.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">boinc.berkeley.edu
中国分布式计算总站: <a href="http://www.equn.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.equn.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: <a href="http://python.cn/mailman/listinfo/python-chinese" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://python.cn/mailman/listinfo/python-chinese

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank"> http://python.cn/mailman/listinfo/python-chinese


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese