Thanks a lot, Random. I find Hapdebugger very useful to me.

By the way, I found "Inline for Python" at https://sourceforge.net/projects/pyinline/
It helps to using C code in the middle of Python code. However when I run setup.py and then Example1.py which go together with the pyinline pakage I have something like this on IDLE shell:

This is for setup.py
>>> ================================ RESTART ================================
>>>

Traceback (most recent call last):
File "C:\Python23\PyInline\setup.py", line 25, in -toplevel-
packages = ['PyInline'],
File "C:\Python23\lib\distutils\core.py", line 137, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

This is for Example.py
>>> ================================ RESTART ================================
>>>

Traceback (most recent call last):
File "C:\Python23\PyInline\examples\example1.py", line 1, in -toplevel-
from PyInline import C
ImportError: No module named PyInline
>>>

Can any one help? Thanks a lot.