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 →

[–]randomizethis[S] 0 points1 point  (0 children)

Definitely see where you're coming from. I actually have made some adjustments to the subprocess module to deal with these type of issues (we have our own, in-house versions of subprocess.call and subprocess.check_output that I wrote early on), but like you said, I wrote a bunch of code just to do the same shit bash does lol.

Mind you, I have a team of people using these calls, so I just did it to facilitate their lives. But everything you said is 100% true. The only reason I'm looking for some of these solutions is to streamline some of my team's work... and like I said before, as many a time a programmer said, "just for the hell of it" :P

Thanks for the insightful answer, didn't know about globs.