Skip to content

Find the indices of list items in another list only when consecutive

I earlier asked this question and the following was suggested: How to test if a list contains another list? However, the above did not answer my question. In the lists A and B above, to get the indices of listB elements in listA, I want the indices of “mango”,”cherry” and “pawpaw…

Is there any API to directly send messages to Instagram

I am trying to send a message in Instagram via selenium. Is there any API available for the same. Answer There is no official API for this. But there is some open source work available that can be used. Although they are also using selenium internally. Here are some of them. https://github.com/CamTosh/instagr…