Regular Expressions Quick Question
pyth0nc0d3r at gmail.com
Wed Jul 9 09:13:48 CEST 2008
Alright, basically I have a list of words in a file and I load each word
from each line into the array. Then basically the question is how do I
check if the input word matches multiple words in the list.
Say someone input "test", how could I check if that word matches these list
Out of the list of
I want it to loop then check if the input word I used starts any of the
words in the list so if I typed 'tes'
would be appended to a new array.
I'm unsure how to do this in python.
Thanks in advanced.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list