Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68656

Re: CallBack function in C Libraries.

Newsgroups comp.lang.python
Subject Re: CallBack function in C Libraries.
References <a9908cb7-3566-42a8-a468-8179ac1df7ab@googlegroups.com> <lgfucb$4q7$1@speranza.aioe.org> <e469fc0a-596c-40b6-8b27-751a4fe84d85@googlegroups.com>
From "Rhodri James" <rhodri@wildebst.org.uk>
Organization The Wildebestiary
Message-ID <op.xc1uldoj5079vu@gnudebeest> (permalink)
Date 2014-03-21 02:01 +0000

Show all headers | View raw


On Thu, 20 Mar 2014 23:56:43 -0000, <fiensproto@gmail.com> wrote:

>> Give the function call its required argument and the error will go
>>
>> away... well, at least that one.
>
> Yep, many thanks for the answer.
> But... im totally beginner with Python.
> I develop in Pascal and C and want to understand the basics of Python.
>
> In concrete, what must i change in the code ?

In abstract, exactly the same thing that you would change if a C compiler  
had complained to you that you had failed to give a function call the  
right number of arguments.  More than that I have no idea; it's your code,  
presumably you know what it should be doing.  I have absolutely no idea  
how TheProc() is being called by your widgets.  Are you sure it should be  
declared as taking a single parameter?

I'm afraid it doesn't help that GoogleGroups has badly mangled the  
formatting of your code.  I'm not quite sure what to suggest since it  
isn't one of the usual problems, but you might find reading  
https://wiki.python.org/moin/GoogleGroupsPython helpful.  It will  
certainly help with the double-spacing in your quote above.

-- 
Rhodri James *-* Wildebeest Herder to the Masses

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

CallBack function in C Libraries. fiensproto@gmail.com - 2014-03-20 16:16 -0700
  Re: CallBack function in C Libraries. Mark H Harris <harrismh777@gmail.com> - 2014-03-20 18:42 -0500
    Re: CallBack function in C Libraries. fiensproto@gmail.com - 2014-03-20 16:56 -0700
      Re: CallBack function in C Libraries. 88888 Dihedral <dihedral88888@gmail.com> - 2014-03-20 17:04 -0700
      Re: CallBack function in C Libraries. "Rhodri James" <rhodri@wildebst.org.uk> - 2014-03-21 02:01 +0000
        Re: CallBack function in C Libraries. fiensproto@gmail.com - 2014-03-21 05:02 -0700
          Re: CallBack function in C Libraries. Mark H Harris <harrismh777@gmail.com> - 2014-03-21 11:50 -0500
            Re: CallBack function in C Libraries. fiensproto@gmail.com - 2014-03-21 17:22 -0700

csiph-web