Display Function Code Body?

2005-01-07 Thread Haibao Tang
) # surely the compiled function code cannot be displayed >>> disp(blabla) : internal/compiled function Can someone please point out how this can be achieved nicely. I've tried some text searching approach, too dirty I must say. Oh! Thank you ... Haibao Tang -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] 20050126 find replace strings in file

2005-01-26 Thread Haibao Tang
OK. But please don't die throwing that string, or this post will lose its educational purpose as it was meant to be. -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] combinatorics fun

2005-02-10 Thread Haibao Tang
I am no longer resisting. As time goes, the nausea when I first saw Mr. Lee's smelly "technical posts" is starting to fade. The discussion group should have a high tolerance towards polymorphic people these days. -- http://mail.python.org/mailman/listinfo/python-list

Re: Performance Issues of MySQL with Python

2005-02-10 Thread Haibao Tang
There are no performance overhead except when you are dragging a huge chunk of information out of the database, in that case, python is converting the data to its tuple data type which adds one more processing. I found this when I didn't have the priviledge to do "mysql> SELECT * FROM TBL INTO OUT

Re: Complementary language?

2004-12-25 Thread Haibao Tang
At home I almost use python exclusively, the other two languages I can be productive is C# and C++, I chose C# because I am a Windows programmer (don't throw tomato at me, I am no troll..) and I choose C++ because the algorithm was implemented in this dialect in school. -- http://mail.python.org/

Jython & IronPython Under Active Development?

2004-12-25 Thread Haibao Tang
This question may be a bit weird but I really want to know if these two hybrid projects are still active. -- http://mail.python.org/mailman/listinfo/python-list

A simple question string.replace

2006-01-30 Thread Haibao Tang
I have a two-column data file like this 1.12.3 2.211.1 4.31.1 ... Is it possible to substitue all '1.1' to some value else without using re. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

How to parse a name out of a web page?

2006-04-05 Thread Haibao Tang
with high accuracy... My temporary plan is to first recognized consecutive two or three initial-capitalized words, but certainly we need to do more than that? Anyone has suggestions? Thanks first. -- http://mail.python.org/mailman/listinfo/python-list