[Python.NET] Re: "TypeError: No method matches given arguments" Error - please help!
[email protected] Mon, 16 Aug 2021 13:44:00 -0000
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <[email protected]> |
I am using pythonnet version 2.5.2. Slide - your suggestion does fix the problem, thanks. The following code works: from System import UInt32, Int32 from System import Double result, response, errString = ESP301Device.SR_Get(Int32(1),Double(0.),"") I think I misread the documentation, which says that calling dummy arguments was necessary with a void method. Is this correct? Otherwise the dummy arguments must always be provided? Thanks again to all for the feedback. Matt _______________________________________________ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: [email protected]