Re: How to debug embeding Python?

2009-01-06 Thread Hongtian
Thanks all of you, my friends. I think log system is a very good choice. Happy new year! -- http://mail.python.org/mailman/listinfo/python-list

How to debug embeding Python?

2008-12-29 Thread Hongtian
Hi Friends, My application is written in C/C++ and Python is embed to extend some functions (several .py files are invoked). But I am confused how to debug these embed Python? Can I use 'print-debuging'? and where can I capture the output string? Or Python can support 'break' debug for such scena

question; C/C++ with Python

2008-12-25 Thread Hongtian
Hi friends, I have a C/C++ application and I wrote a .py file to extend it. The .py file includes some simple functions without import any other modules. Today, I want to update my .py file and import SMTP library in the file, but it seems fail to import SMTP library. So I want to ask: when the

Re: How to transfer data structure or class from Python to C/C++?

2008-10-16 Thread Hongtian
Python, I want it return 'Tdemo1' back to the C/C++ application. I research boost.python and think it is not a reasonable solution because it make the C/C++ application too complex. Thanks. On Oct 16, 12:09 pm, "Aaron \"Castironpi\" Brady" <[EMAIL PROTECTED]> wro

How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread Hongtian
Hi friends, I am a newer of Python. I want to ask below question: I have a C/C++ application and I want to use Python as its extension. To do that, I have to transfer some data structure from C/C++ application to Python and get some data structure from Python to C/C++ application. I have research

Re: Who uses Python?

2007-06-05 Thread Hongtian
We use Python in our VOIP server. :-) Python is a very good script language and can be very easy to embed into our server. It is great! -- http://mail.python.org/mailman/listinfo/python-list