How can I fix my Tkintre application? I want to webscrape each row of listbox that met a condition

In this method, a loop is placed on the lines of a list box, and when the condition if minn<= int (updated_color_price) <= maxx is met, the color of the line turns red, and the function get_item_id is called. Then the color of the line turns yellow. This code is correct in general, but I want to develop it. What I want is this: 1. When the condition if minn<= int(updated_color_price ) <= maxx is established, the product’s color will be red, and an audio alarm will sound. I want a suitable and beautiful sound. 2. When the condition if minn<= int(updated_color_price ) <= maxx is established, the function get_item_id should be called. 3. After the function get_item_id works, the line’s color will turn yellow. 4. When the condition if minn<= int(updated_color_price ) <= maxx is established, with the help of the library asyncio or thread to be called for it. 5. The loop should not be placed on the function get_item_id That is, a line that is placed in the condition if minn<= int(updated_color_price ) <= maxx must go out of the loop, and the function get_item_id should be called for it. That is, the function get_item_id must be in such a way that it is not repeated in the loop, and it is executed only once for that red line. Of course, several lines may turn red at the same time. These lines should be removed from the loop, and the function should be called for them. Then their color will turn yellow, and they should enter the loop again. Meanwhile, the lines that are not in the condition if minn<= int(updated_color_price ) <= maxx should remain in the loop.

How to scroll collectionview cell with index while screen swiping left to right in swift

Code: here if i swipe the view left and right then tblViewActivity data showing correct because in getActivityData(intMonth: monthIndex!, intYear: sessionStartYear) this service call monthIndex going properly but the collectionViewActivity not scrolls upto that particular month.