Try a Number of Times before Exception or Fail - Python for Integrated Circuits - - An Online Book - |
||||||||
Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= Retry a number of times. code: ============================================ Try a number of times before exception or fail. In this code, more attempts only occur in the event of an exception: code: ============================================ Try a number of times before exception or fail. In this code, more attempts only occur in the event of an exception: code: ============================================ Infinite retrying until the number is greater than 0: code: ============================================ Limit retrying until the number is greater than 0: code:
|
||||||||
================================================================================= | ||||||||
|
||||||||