[Tutor] What to call a string with embedded descriptor?

Tim Johnson tim at akwebsoft.com
Fri Mar 30 20:57:10 CEST 2012


This is kind of a theoretical question. I.E. I am looking for a
keyword to do research on.
Consider the following string:

'3:2,6:2,4:3,5:0|age50height63nametimvalue'

If the string above is split on the first occurance of '|',
the result is a 'leftmost' component which can be decomposed into a
nested list of integers which can then be used to parse the
'rightmost' string into a dictionary.

What would be a generic term or a pythonist term for such a string?

Thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com


More information about the Tutor mailing list