Exceptions in Python aren’t new, and pretty easy to wrap your head around. Which means you should have no trouble following what this example will output. Simple, right? It raises both except clauses, triggering the warning and so your screen will obviously print False and the warning. So...
Continue reading...python
Book Review: Violent Python
I had the great pleasure of learning directly from Mark Baggett, the Technical Editor of Violent Python, during his Python for Penetration Testers SANS class. Violent Python book was the basis for many of the things done during the week-long training. I totally don’t mean to brag,...
Continue reading...The Documentation Dilemma
Every coder will come across the same aggravating issue one day, finding a script or library you think you need, and it has zero instructions. Or the examples don’t work, or there is so much writing and so little substance you can’t hope to dig through...
Continue reading...Your first date with Python logging
Logging vs Print The difference between logging and using print isn’t simply personal preference, rather choosing the proper tool per use case. Check out the Python docs when to use logging if you don’t believe me. If you are simply using Python to write scripts with clear paths and...
Continue reading...