Currently I’m working on a script to search for duplicate images on my hard drive. To do so, I need to search recursively and go down through all subdirectories. Recursive searching can be done by importing the commonly used os…
The Python core module Threading provides a really simple way to add concurrency to any program. Concurrency is when a computer executes several instructions simultaneously. If your code waits for a function, but there are other things it could or should be doing…
Like seeing rainbows all over the place? Does it make you especially happy to have a colorful terminal? Yeah, me too. There’s a little Ruby program called lolcat and it will help you out (in the happiness department). Steps to a…
This week has been a lot about making jewelry and a little about coding. Even still, I’ve found some great links for learning Python that I’d like to share. Robot Game – This is a really fun way to practice…
There is a wonderful command on UNIX systems to return the width of the current terminal. Enter tput cols and see for yourself! Tput can actually provide a lot of different info by querying the terminfo database. Really all I’ve needed though is…