how to skip an iteration in python for loop when a particular statement is taking more time to execute?

前端 未结 0 1429
借酒劲吻你
借酒劲吻你 2021-01-23 14:23

i have a read_sql call inside for loop, which takes lot of time to return a value sometimes. Is it possible to skip the loop when it is taking more than 5 mins to execute read_s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题