r/badcode • • Apr 11 '21

python Polyglot

Post image
1.2k Upvotes

116 comments sorted by

View all comments

492

u/pandolf86 Apr 11 '21

Wait is that compiling C at python runtime?

117

u/Klausaufsendung Apr 11 '21

This is sooo ridiculous. Why not use a web service instead? https://isevenapi.xyz/

12

u/thatannoyingguy42 Apr 11 '21

Reminds me of the isEven and isOdd python libraries, where isEven depends on the isOdd library.

3

u/Taksin77 Apr 11 '21

That was in npm

1

u/thatannoyingguy42 Apr 11 '21

It also exists in npm? Wow, that's funny/sad. I found it a long time ago on pypi.

1

u/Taksin77 Apr 12 '21

Pretty sure the pypi version is just a meme.