python某段代码执行时间过长,如何跳过执行下一步?

NoSuchKey