hp
toc

FS letters

2015-04-12, post № 18

programming, Pygame, Python, #color, #different colors, #every file, #fade, #fading, #file, #files, #filesystem, #fs, #letters, #Macintosh, #random, #red, #red letters, #user

This program goes through all the filenames from every user (it is made for Macintosh), checks the filename and counts the individual letters. Those letters are then displayed on the screen, the most common ones big and bright and the least common ones dark and small. The letters will appear in a random order.

How to use

  • If you start the program, a black screen will appear. Press ‘Space’ and the screen will get red and begin to fade. After the screen is faded out, it gets black and the program freezes (checks your whole filesystem). After this freeze the above mentioned happens (check images below).
fs-letters-1.png
fs-letters-2.png
fs-letters-3.png
Source code: fs-letters.py
Jonathan Frech's blog; built 2024/03/18 18:45:40 CET