search in a list??

jubafre at brturbo.com jubafre at brturbo.com
Mon Aug 19 14:23:58 EDT 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
www.gebrasil.hpg.com.br 


More information about the Python-list mailing list