MS Word -- finding text
Garth T Kidd
garth at deadlybloodyserious.com
Mon Jun 17 00:57:52 CEST 2002
> To avoid this problem, I use the following conversion routine.
> After making the necessary check for None, it attempts a quick
> conversion str() first. When necessary, it slowly goes through
> each character, handling the exceptions that are raised.
Great technique! Now, I don't suppose you could identify the
characters str() isn't handling, so that someone can fix str()? :)
More information about the Python-list