Update:KOBRA - .NET for Python

Chetan Gadgil cgjunkaddr at attbi.com
Sun Jan 26 23:15:17 EST 2003


On second thoughts, I think even today, you should be able to use the "Type"
class to create a new "Point" instance with arguments, through .NET's
reflection APIs.

Chetan


"Chetan Gadgil" <cgjunkaddr at attbi.com> wrote in message
news:EV1Z9.46095$eM6.94050 at rwcrnsc51.ops.asp.att.net...
> Sorry, I haven't done that yet...
>
> Still missing are:
> 1) Direct access to attributes (currently only thru methods)
> 2) Direct access to properties
>
> For now, I write wrapper classes where needed (actually not needed by me
> that often).
> Very often I can do:
> x = createObject(...)
> x.setX(10)
> etc.
> However, I am doing a major cleanup of my code and will include this
> (attribute constructor) as an important enhancement.
>
> Chetan
>
>
> "Kyle Yancey" <kyle at lakeofburningfire.org> wrote in message
> news:cor83v4ih1j852u8hd8gfsnqcahp07vgfo at 4ax.com...
> > One question.  Is there any way to create an object with a
> > constructor? I was trying one of the form examples in the .Net
> > documentation.  How would I do this:  point1 = Point (10, 10);
> >
> > On Sun, 26 Jan 2003 20:58:42 GMT, "Chetan Gadgil"
> > <cgjunkaddr at attbi.com> wrote:
> >
> > >Hi
> > >
> > >I have updated the library and documentation with some examples:
> > >1) How to use XML apis from .NET
> > >2) How to access .NET webservices dynamically from Python
> > >3) Create Windows forms
> > >
> > >Coming soon:
> > >
> > >1) How to access COM objects from Python, without using win32com
library.
> > >(using only kobra .NET)
> > >
> > >This project is under constant development to increase usability and
> improve
> > >features.
> > >
> > >Thanks to GV Rossum for creating this superb language - Python and to
> Mark
> > >Hammond for his awe inspiring win32all.
> > >
> > >http://www.gadgil.net/DotNetWrapperForPython.htm
> > >
> > >Regards
> > >Chetan
> > >
> >
>
>






More information about the Python-list mailing list