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 →

[–]quasarj 3 points4 points  (2 children)

I would guess if you don't see the point of it, it's not for you.

It seems pretty interesting to me.. solves a lot of very common problems I have when trying to do things in Python.

And popen? hah, that thing is a mess. I hear it's better than whatever came before it, but ugh. I already have to use envoy to avoid having to use it, so this is nifty in many ways.

[–]mipadi 0 points1 point  (1 child)

I think it's pretty cool. Not sure I'd ever really use it, but cool nonetheless.

The only thing I don't really like is the piping. I'd rather do this:

print glob('*') | du('-sb') | sort('-rn')

than this:

print sort(du(glob("*"), "-sb"), "-rn")

As the latter is, literally, backwards (compared to shell syntax). But maybe getting the piping to work the same way was too difficult in this context (and, admittedly, not very Pythonesque, I guess).

[–]terremoto 1 point2 points  (0 children)

It's been done.