MS Word -- finding text
Garth T Kidd
garth at deadlybloodyserious.com
Sun Jun 16 18:57:52 EDT 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()? :)
Regards,
Garth.
More information about the Python-list
mailing list