Mega Code Archive
Categories
/
Python
/
String
Get the length of a string with escape characters inside
s = 'a\0b\0c' print s print len(s)