Skip to content
Artwork for Ethical Hacker & Cyber Defence
Ethical Hacker & Cyber Defence · June 25 · 15 min

Exception handling: try/except

When writing Python scripts for security automation, you will inevitably encounter situations where your code tries to do something that fails at runtime: opening a file that does not exist, connecting to a server that is offline, reading malformed d...

0:00-15:00

transcript

No transcript — this publisher did not publish one.

show notes

When writing Python scripts for security automation, you will inevitably encounter situations where your code tries to do something that fails at runtime: opening a file that does not exist, connecting to a server that is offline, reading malformed d...