4 ms·
> How many lines of code take piping a command into another in python, for example? None. from sh import sort, du from glob import glob print(sort(du(gl
by andrewshadura 6y ago
> How many lines of code take piping a command into another in python, for example?
None.
from sh import sort, du
from glob import glob
print(sort(du(glob("*"), "-sb"), "-rn"))
- eru 6y agoLooks like three lines to me?