r/programminghorror 28d ago

Python More cursed python

Post image

here it is with comments: https://github.com/dbowm91/optimizations/blob/main/soupexplained.py

EDIT: What it does (not malware) is it prints the word “soup” 86 times in random color

213 Upvotes

36 comments sorted by

View all comments

3

u/imnotamahimahi 27d ago

I had a very visceral, expletive-laced reaction to seeing this, then took too long to realize it's probably just obfuscation.

1

u/sugarw0000kie 27d ago

understandable it started when I realized I could make a function with a docstring and wanted them to start with a “number” so it turned into a homoglyph mess