search in a list??

jubafre at jubafre at
Mon Aug 19 20:23:58 CEST 2002

i have a list:
x=['LDA', 'D1', 'ADD', 'D2', 'STA', 'D3', 'HLT', 'D1:', 'DB', '3', 'D2:', 'DB', '2', 'D3:', 'DB', '0']

i want to indentify de nodes with ":", how i can get this?????

for example:
the node 7 -> "D1:" have de two points, but i don´t know how to get this information.
Juliano Freitas 

More information about the Python-list mailing list