Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Python
HTML entities replacement
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
anonymous
Banned
New Member
Join Date:
Sep 2005
Posts:
99
#1
HTML entities replacement
Jul 27 '07, 03:48 PM
How can I replace characters like & # 038; on their equivalents in a shorter way in python script?
bartonc
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
6478
#2
Jul 27 '07, 07:35 PM
Originally posted by
anonymous
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?
Comment
Post
Cancel
linksterman
New Member
Join Date:
Jul 2007
Posts:
38
#3
Jul 27 '07, 08:24 PM
well like &apos is an apostrophe. there are dozens and dozens of these.
Comment
Post
Cancel
anonymous
Banned
New Member
Join Date:
Sep 2005
Posts:
99
#4
Jul 30 '07, 08:56 AM
2
bartonc
example
It's simple to replace but I have no time to create hash tables for replacement.
Probably exists special library for my task?
Comment
Post
Cancel
Andelys
New Member
Join Date:
Aug 2007
Posts:
47
#5
Aug 2 '07, 01:27 PM
If you wonna replace them all, its gonna take time... There are maybe +10000k of those tag...
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment