What's wrong?

2006-01-25 Thread kishkin
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 ap

Re: What's wrong?

2006-01-25 Thread kishkin
:)) Oа course it PyCallable_Check there!!! :)) And error is that PyCallable_Check returned 0. power.c compiles without errors. error is here: --- [EMAIL PROTECTED] 1]$ make -f makefile.power gcc power.c -g -I/usr/local/include/python2.4 -fpic -shared -o power.so [

Re: What's wrong?

2006-01-25 Thread kishkin
Thank you for fast response! And I'm sorry for bad style of asking questions! -- http://mail.python.org/mailman/listinfo/python-list

Re: What's wrong?

2006-01-25 Thread kishkin
Man! It's alive! :) Now next question: where are you living? I must know that for buy you some beer!! Thanks a lot!!! -- http://mail.python.org/mailman/listinfo/python-list

Have you any idea how to make window transparent using pygame?

2006-01-30 Thread kishkin
Hello everybody! I just want to make window transparent. ;) At this moment I've found only ideas of taking screenshots to make background... Anything else? Thanks for help! -- http://mail.python.org/mailman/listinfo/python-list

Re: simple perl program in python gives errors

2006-01-30 Thread kishkin
Maybe you should initialize a before using it? :) -- http://mail.python.org/mailman/listinfo/python-list

Re: simple perl program in python gives errors

2006-01-30 Thread kishkin
Of course Grant Edwards is right, but I thought that your programm is something like this: a += 20 * 14 print a and I thought that this is your perl program: $a += 20 * 14 print $a Funny i