[interrupt() Прервать текущего оператора. def interrupt(self): ... Смотрите также модуль aspose.cells класс InterruptMonitor]