Re:Scripts I wrote that I use all the time
by cleartext412 on Thursday October 23, 2025 @06:42PM
(#45688335)
Personally I only ever needed it once. I was re-implementing javascript function doing some strange string processing by using characters in the input string to calculate indexes of alphabet array to replace them with. Since I was using Python I just imported string.ascii_lowercase instead of manually typing the sequence, and when I showed the code to someone more experienced than me, I was told it's base64, so all my efforts were replaced with a single base64.b64_decode() call.
[ Parent
| on HN ]
There are no comments on this comment yet.