Python for network engineers
latest
  • Download PDF/Epub
  • Introduction
  • Book resources
  • I. Python basics
    • 1. Preparing for work
    • 2. Using Git and Github
    • 3. Getting started with Python
    • 4. Python data types
    • 5. Basic scripts
    • 6. Control structures
      • if/elif/else
      • for
      • while
      • break, continue, pass
      • for/else, while/else
      • Working with try/except/else/finally
      • Further reading
      • Tasks
    • 7. Working with files
    • 8. Python basic examples
  • II. Code reuse
  • III. Regular expressions
  • IV. Data writing and transmission
  • V. Working with network devices
  • VI. Basics of object-oriented programming
  • VII. Working with databases
  • VIII. Additional information
  • What’s next
Python for network engineers
  • Docs »
  • I. Python basics »
  • 6. Control structures »
  • Further reading
Next Previous

Further reading¶

Documentation:

  • Compound statements (if, while, for, try)
  • break, continue
  • Errors and Exceptions
  • Built-in Exceptions

Articles:

  • Write Cleaner Python: Use Exceptions
  • Robust exception handling
  • Python Exception Handling Techniques

Stack Overflow:

  • Why does python use ‘else’ after for and while loops?
  • Is it a good practice to use try-except-else in Python?
Next Previous

© 2015-2022, Natasha Samoylenko. Last updated on Jan 16, 2022. Translated from Russian by Aidar Khairullin

Built with Sphinx using a theme provided by Read the Docs.

This work is licensed under a CC-BY-SA-4.0.

Read the Docs v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.