kishkin wrote: > Hello everyone! > > I wanted to write python script with defined function. From that script > I wanted to call C module, which in it's turn call defined python > function. Sounds simple. But I've got some troubles in realization. I'm > beginner at python so it's normal, I think. :) > > Here's the code. I'll apreciate if anyone can answer me what's wrong > here.
[snip] > if (!PyCallable_Chack(temp)) //here's error, but > I don't know why... Er, do we have to guess what error you are getting? No, no, I love to guess... should the function be spelt PyCallable_Chock with an o instead of an a? -- Steven. -- http://mail.python.org/mailman/listinfo/python-list