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

Emile van Sebille emile at fenx.com
Fri Mar 30 22:20:34 CEST 2012


On 3/30/2012 11:57 AM Tim Johnson said...
> 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?
>

I've called them formatted or structured -- you could also say 
proprietary I imagine.  I'm not aware if there's a formal name...

Emile





More information about the Tutor mailing list