Picking apart strings

tmallen thomasmallen at gmail.com
Tue Jun 3 14:44:20 EDT 2008


Is there a way to pick apart this text without resorting to regular
expressions?

p {
    color: black;
}

p -> element
color -> property
black -> value



More information about the Python-list mailing list