News for hackers. Stuff that matters.
Re:Avoiding Bash frustration – Use Python for shell scripts by geophile on Sunday November 08, 2020 @11:16AM (#25026693)
Another tool for shell scripting form Python: https://marceltheshell.org. (Source: https://github.com/geophile/marcel.)

E.g.

    from marcel.api import *
 
    for file, size in (ls('marcel',
                          'test',
                          file=True,
                          recursive=True) |
                       map(lambda f: (f.path, f.size))):
        print(f'{file}: {size}')

There are no comments on this comment yet.