I’ve been wanting to make a simple script that was entirely self-contained for a while now, but I haven’t been sure on exactly what I wanted to do. Something I’ve done more times than I care to count is write code that reads a directory and displays the files in some form or fashion. It’s something I know inside and out so I figured why not make a directory listing script that uses icons to represent individual file types and embed those images into the script itself. So I started coding.
A few hours later I had an embarrassingly polished script I felt deserved it’s own page. I’ve commented the code as thoroughly as possible, but if you have any questions please ask below.