Hello,
I am using the threading module and the Queue module in python to to
send out shipment tracking URL requests.
Is there a way to timeout a thread within a Queue?
I think the way I have it now the thread will wait until something is
returned and will basically wait forever for that
Oleg Batrashev a écrit :
This means that if you have 10 sentences with 5 words in each there is
5^10 space and time complexity. Definitelly, there are better
algorithms from dynamic programming, but you should review your needs:
how many sentences, words you have.
it can be few to many,
Hello,
thanks for all your replies, i'm now looking to dynamic programming...
sorry for forgetting to say that i wanted the words to be ordered, thus
:
s1 = hello there dudes
s2 = dudes hello there
s3 = there dudes hello
will not return anything while sharing all three words.
Bearophile your
Hello,
i would like to write a piece of code to help me to align some sequence
of words and suggest me the ordered common subwords of them
s0 = this is an example of a thing i would like to have.split()
s1 = another example of something else i would like to have.split()
s2 = 'and this is another