On 3/25/07, Utkarsh Tandon <[EMAIL PROTECTED]> wrote:

>     realtext = str(realtext)

Here's the problem. Use this instead:

   realtext = "".join(realtext)

>     realtext = realtext.replace('[', "").replace(']', "").replace(',',
> "").replace("'", "").replace('\\n', "").replace('\\t', "")

And delete this one.


-- 
- Rikard - http://bos.hack.org/cv/
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to