Python’s built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an n of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions to convert between byte string and unicode. This is especially useful in debugging when mixup of the string types is suspected.


Download from: Homepage




Author:
admin
Time:
Wednesday, April 30th, 2008 at 10:43 pm
Category:
Python Modules, Text Tools
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply