[Python.NET] Re: RANGE object access from Python

2020-12-02 Thread AlexM
Thank you very much Emmanuel ! I will try your idea, think this should work ... Take care! Alex. On Wed, Dec 2, 2020 at 3:35 PM Emmanuel Rutovic wrote: > Hi Alex, > > Not sure about your class but you can use codecs to create custom code to > convert your objects from .Net to Python. > > Doc : >

[Python.NET] Re: RANGE object access from Python

2020-12-02 Thread Emmanuel Rutovic
Hi Alex, Not sure about your class but you can use codecs to create custom code to convert your objects from .Net to Python. Doc : https://github.com/pythonnet/pythonnet/wiki/Codecs:-customizing-object-marshalling-between-.NET-and-Python Here is how I use it: public class DoubleArrayPythonEnco