Picking apart strings

tmallen thomasmallen at gmail.com
Tue Jun 3 20:44:20 CEST 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