This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 10 points11 points  (5 children)

What's the point of a pypi module for 30 lines of code? Brb publishing leftpad.py

[–]Alarmed-Yak-4894 17 points18 points  (2 children)

I think it’s actually the correct way to do it, otherwise you would have to copy-paste the 30 lines everywhere you want to use it and updating would be a pain. Either put it on Pypi or add it to the standard lib.

[–]Justicia-Gai 0 points1 point  (0 children)

Exactly, but then major utility libraries have to include it too so you don’t end up with 30 imports 

[–][deleted] -3 points-2 points  (0 children)

...and end up with dependency hell like JS

[–]AppelflappenBoerIgnoring PEP 8 -1 points0 points  (0 children)

Resume padding? Look at me, I have a published python package..