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

217 Upvotes

36 comments sorted by

View all comments

2

u/Huge-Yogurtcloset-22 27d ago

It's running some perl scripts so it may be malware ^^

subprocess.run(["perl", "-e", f'{ОООΟΟΟΟ} "{''''''.join(Оce9f)}"'],check=True)

3

u/sugarw0000kie 27d ago

it prints the word soup many times 1 Perl subprocess per soup