Re: [OT] Re: output from external commands

2005-10-25 Thread Terry Hancock
On Monday 24 October 2005 09:04 pm, darren kirby wrote: quoth the Fredrik Lundh: (using either on the output from glob.glob is just plain silly, of course) Silly? Sure. os.listdir() is more on point. Never said I was the smartest. However, I will defend my post by pointing out that at the

Re: [OT] Re: output from external commands

2005-10-25 Thread Mike Meyer
Terry Hancock [EMAIL PROTECTED] writes: I think Mr. Lundh's point was only that the output from glob.glob is already guaranteed to be strings, so using either '%s'%f or str(f) is superfluous. Just for the record - this was why I asked what the point was in the first place. mike -- Mike

Re: [OT] Re: output from external commands

2005-10-25 Thread Bengt Richter
On Tue, 25 Oct 2005 10:10:39 -0500, Terry Hancock [EMAIL PROTECTED] wrote: On Monday 24 October 2005 09:04 pm, darren kirby wrote: quoth the Fredrik Lundh: (using either on the output from glob.glob is just plain silly, of course) Silly? Sure. os.listdir() is more on point. Never said I was

[OT] Re: output from external commands

2005-10-24 Thread darren kirby
quoth the Fredrik Lundh: (using either on the output from glob.glob is just plain silly, of course) Silly? Sure. os.listdir() is more on point. Never said I was the smartest. However, I will defend my post by pointing out that at the time it was the only one that actually included code that

Re: [OT] Re: output from external commands

2005-10-24 Thread Steven Bethard
darren kirby wrote: quoth the Fredrik Lundh: (using either on the output from glob.glob is just plain silly, of course) [snip] It is things like this that make me wary of posting to this list, either to help another, or with my own q's. All I usually want is help with a specific

Re: [OT] Re: output from external commands

2005-10-24 Thread Tony Meyer
On 25/10/2005, at 3:36 PM, Steven Bethard wrote: I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) [...] It takes a little training to get used to him, but if you can look past the nasty bite, he's really a valuable resource around here.