ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: .NET for Python for .NET (kobra 2.1)
by Chetan Gadgil other posts by this author
Feb 18 2003 9:14AM messages near this date
.NET for Python for .NET (kobra 2.1) | Re: .NET for Python for .NET (kobra 2.1)
Workaround:

cd <PYTHONHOME> 

copy python.exe.config pythonw.exe.config

Now, it should work under both idle and pythonwin.

Note however, that I did observe some problems in the exception propagation
on idle. Best results have been with the cmd line version.

Chetan

"logistix" <logistix@[...].com>  wrote in message
news:bdb5b58f.0302171719.4235c910@[...]..
>  "Chetan Gadgil" <cgjunkaddr@[...].com> wrote in message
news:<lca4a.154615$vm2.109663@rwcrnsc54> ...
>  > Since 2.0, I have been supporting callbacks into Python. The support is
>  > limited, and I will be soon improving it. The docs
>  > have an example of callbacks
>  >
>  > Check out http://www.gadgil.net/DotNetWrapperForPython.htm for updated
docs.
>  >
>  > This is NOT a CLR implementation of Python. Mark Hammond did a lot of
>  > pioneering work in that field (too). You can check out his Python.NET.
>  >
>  > This (kobra) is for the "regular" Python on Windows. kobra is just an
>  > extension module for Python on Windows. It DOES NOT need
PythonWin/win32all
>  >
>  > Chetan
> 
>  Cool stuff but 'import kobralib' fails on PythonWin and idle.(although
>  it works fine from the command line shell).
> 
>  Also, any chance I can get the source so I can do a debug build? ;-)
> 
>  PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
>  win32.
>  Portions Copyright 1994-2001 Mark Hammond (mhammond@skippinet.com.au)
>  - see 'Help/About PythonWin' for further copyright information.
>  >>> import kobralib
>  Traceback (most recent call last):
>    File "<interactive input>", line 1, in ?
>    File "C:\Python22\lib\site-packages\kobralib.py", line 60, in ?
>      helper = DotNetObject(kobra.new("DotNetHelperLib",
>  "DotNetHelperLib.DotNetHelper"))
>  error: Could not load assembly: DotNetHelperLib
>  >>>


-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Chetan Gadgil
Chetan Gadgil
Chetan Gadgil
Steve Holden
Chetan Gadgil
Paul Moore
logistix

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved