interruptingcow

軟件截圖:
interruptingcow
軟件詳細信息:
版本: 0.5
上傳日期: 14 Apr 15
許可: 免費
人氣: 14

Rating: 1.5/5 (Total Votes: 2)

interruptingcow是一個通用的Python的工具,可以比較從容打斷你的代碼時,它不會在幾秒鐘內特定數量的執行:
從interruptingcow進口超時
嘗試:
 與超時(5):
 #執行可能非常緩慢運行
 通
除了RuntimeError:
 打印“並沒有在5秒內完成”
安裝
  PIP安裝interruptingcow
注意事項
Interruptingcow使用信號(SIGALRM),讓操作系統的中斷程序的執行。這具有以下限制:
1. Python的信號處理程序只適用於主線程,所以你不能從其他線程使用
2.你不能在使用SIGALRM本身程序使用此

要求

  • 在Python中

類似的軟件

VimPdb
VimPdb

11 May 15

termdebug
termdebug

20 Feb 15

Cleaner
Cleaner

3 Jun 15

顯影劑的其他軟件 Erik van Zijst

Dogslow
Dogslow

14 Apr 15

意見 interruptingcow

評論沒有發現
添加評論
打開圖片!