Re: [Python.NET] Error in calling Python class method from C#

2018-05-02 Thread Stefan Schukat
developers of Python for .NET Subject: Re: [Python.NET] Error in calling Python class method from C# I have got success on doing. I just need to get review to ensure right. Please find below code snapshot. Class.py def test(): print "Test called" return 1 class ClassTest: def __i

Re: [Python.NET] Error in calling Python class method from C#

2018-04-30 Thread techi eth
gt;>>> Please give me hint of doing without static. >>>>> >>>>> Thanks >>>>> >>>>> On Thu, Apr 26, 2018 at 4:54 PM, Stefan Schukat >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >

Re: [Python.NET] Error in calling Python class method from C#

2018-04-29 Thread techi eth
2018 at 4:54 PM, Stefan Schukat >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> >>>>> >>>>> you missed either @staticmethod decorator or the self argument for the >>>>> Initialize method. >>&g

Re: [Python.NET] Error in calling Python class method from C#

2018-04-29 Thread techi eth
>>>> >>>> >>>> >>>> you missed either @staticmethod decorator or the self argument for the >>>> Initialize method. >>>> >>>> >>>> >>>> Stefan >>>> >>>> >>>&

Re: [Python.NET] Error in calling Python class method from C#

2018-04-29 Thread Denis Akhiyarov
gument for the >>> Initialize method. >>> >>> >>> >>> Stefan >>> >>> >>> >>> *From:* PythonDotNet [mailto:pythondotnet-bounces+sschukat= >>> dspace...@python.org] *On Behalf Of *techi eth >>>

Re: [Python.NET] Error in calling Python class method from C#

2018-04-27 Thread techi eth
t;> Initialize method. >> >> >> >> Stefan >> >> >> >> *From:* PythonDotNet [mailto:pythondotnet-bounces+sschukat= >> dspace...@python.org] *On Behalf Of *techi eth >> *Se**nt:* Wednesday, April 25, 2018 2:38 PM >> *To:* A list for users an

Re: [Python.NET] Error in calling Python class method from C#

2018-04-26 Thread techi eth
38 PM > *To:* A list for users and developers of Python for .NET < > pythondotnet@python.org> > *Subject:* [Python.NET] Error in calling Python class method from C# > > > > Hi, > > > > I am facing issue while calling python class function in C# programme. Can >

Re: [Python.NET] Error in calling Python class method from C#

2018-04-26 Thread Stefan Schukat
Python for .NET Subject: [Python.NET] Error in calling Python class method from C# Hi, I am facing issue while calling python class function in C# programme. Can anyone give me hint what is wrong in below programme.While running I am getting error in invoking Initialize() function of class. Python

[Python.NET] Error in calling Python class method from C#

2018-04-25 Thread techi eth
Hi, I am facing issue while calling python class function in C# programme. Can anyone give me hint what is wrong in below programme.While running I am getting error in invoking Initialize() function of class. Python module : def test(): print "Test called" return 1 class ClassTest: