By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

HTML entities replacement

P: 98
How can I replace characters like & # 038; on their equivalents in a shorter way in python script?
Jul 27 '07 #1
Share this Question
Share on Google+
4 Replies


bartonc
Expert 5K+
P: 6,596
How can I replace characters like & # 038; on their equivalents in a shorter way in python script?
I'm not getting this: What are "their equivalents"? Can you give an example of what you are trying to achieve and how you are doing it?
Jul 27 '07 #2

P: 38
well like &apos is an apostrophe. there are dozens and dozens of these.
Jul 27 '07 #3

P: 98
2bartonc example

It's simple to replace but I have no time to create hash tables for replacement.
Probably exists special library for my task?
Jul 30 '07 #4

P: 47
If you wonna replace them all, its gonna take time... There are maybe +10000k of those tag...
Aug 2 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.