Newsgroups: comp.lang.python
From: cla...@lairds.us (Cameron Laird)
Date: Tue, 5 Jun 2007 18:36:26 +0000
Local: Wed, Jun 6 2007 4:36 am
Subject: Re: How do you htmlentities in Python
In article <1180977447.745432.109...@q19g2000prn.googlegroups.com>,
Matimus <mccre...@gmail.com> wrote: . >On Jun 4, 6:31 am, "js " <ebgs...@gmail.com> wrote: >> Hi list. >> If I'm not mistaken, in python, there's no standard library to convert >> htmlentitydefs provides maps that helps this conversion, >> To me this seemed odd because python is known as >> So my questions are >> Thank you in advance. >I think this is the standard idiom: >>>> import xml.sax.saxutils as saxutils >Notice there is an optional parameter (a dict) that can be used to . . Good points; I like your mention of the optional entity dictionary. It's possible that your solution is to a different problem than the original You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||