> Is there a way to show the ascii values of the string - kind of hexedit 
> for a string

Try running repr() on the string: it will show an external 
programmer-friendly representation that should be easier to read.  For 
example:

##########################
>>> msg = 'hello\000world'
>>> print repr(msg)
'hello\x00world'
##########################
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to