Re: Generate PDF with Tamil font problem

2011-03-08 Thread Selvam
On Sat, Mar 5, 2011 at 5:28 PM, Tom Zych wrote: > sathe...@e-ndicus.com wrote: > >I am using python's reportlab to print some unicode Tamil characters > > 'பே'. I added necessary unicode font to reportlab. But It > > prints the output as 'ேப' (in reverse order). This issue > > happens for mul

Hotshoting recursive function

2011-05-22 Thread Selvam
Hi, I am using hotshot module to profile my python function. I used the details from ( http://code.activestate.com/recipes/576656-quick-python-profiling-with-hotshot/ ). The function I profile is a recursive one and I am getting the following error, "ProfilerError: profiler already active" I

Re: Hotshoting recursive function

2011-05-26 Thread Selvam
On Wed, May 25, 2011 at 2:20 PM, Gabriel Genellina wrote: > En Sun, 22 May 2011 10:42:08 -0300, Selvam > escribió: > > > I am using hotshot module to profile my python function. >> >> I used the details from ( >> >> http://code.activestate.com/recipes/576

Removing an attribute from html with Regex

2010-12-29 Thread Selvam
Hi all, I have some HTML string which I would like to feed to BeautifulSoup. But, One malformed attribute breaks BeautifulSoup. My String I would like it to replace all the occurances of that attribute with an empty string. I am unable to figure out the exact regex, which can do this job.

Beautifulsoup html parsing - nested tags

2011-01-05 Thread Selvam
Hi all, I am trying to parse some html string with BeatifulSoup. The string is, Tax Base Amount rtables=soup.findAll(re.

Re: Beautifulsoup html parsing - nested tags

2011-01-05 Thread Selvam
On Wed, Jan 5, 2011 at 2:58 PM, Selvam wrote: > Hi all, > > I am trying to parse some html string with BeatifulSoup. > > The string is, > > > > > > > > Ta