Modulos in Python

Modulos in Python are super useful. They can we be used when we don’t want to print a check each pass during a loop. For example, if I’m looping through 100,000 numbers and want to get an update of how my automation is going every so often instead of printing each loop or blindly running … Read more

Javascript’s Splice

I recently spent a few hours trying to understand why my array was changing when using the splice method. I thought I’d save you some time and outline what I learned. Still new to JS and struggling with the fundamentals? Check out Javascript: The Defenitive Guide (paid link) to brush up. For Those of You … Read more

Python Lambda Functions For Idiots

What are Python Lambda Functions? They weren’t something I could easily infer from casually seeing it in code or context clues. I had to do a little digging. What I took from my reading, is that they are more concisely written functions. My Setup Example They make this: Into this: I personally think they’re beautiful … Read more

Drop Duplicates From An Array In Python

So, you need to drop duplicates from an array in Python. Maybe you’re iterating through this array and calling an api and need to cut down on the super expensive networking? Regardless, it’s fairly straight forward. My Setup Python 3.xmacOS The Solution We use set() to drop duplicates from an array in Python. A set … Read more

Exit mobile version