Ethan Dalool
4a9051e617
With pathclass.glob_many, we can clean up and feel more confident about many programs that use pipeable to take glob patterns. Added return 0 to all programs that didn't have it, so we have consistent and explicit command line return values. Other linting and whitespace.
4 lines
120 B
Python
4 lines
120 B
Python
from voussoirkit import pipeable
|
|
|
|
total = sum(float(x) for x in pipeable.go() if x.strip())
|
|
pipeable.stdout(f'{total}')
|