Re: [Tutor] (no subject)

2010-10-29 Thread Alan Gauld
"Steven D'Aprano" wrote is actually being executed. There are very few programming tasks harder than trying to debug code that doesn't actually contain any bugs, or contains bugs different from the ones you are seeing, because the code you are actually executing is something different from

[Tutor] If statement isn't working

2010-10-29 Thread Susana Iraiis Delgado Rodriguez
Hello members: I'm trying to validate the existence of a file by an if statement, but it isn't working correctly. The module is a crawler that writes to excel some attributes from the files it finds. folders = None # look in this (root) folder for files with specified extension for root, folders

Re: [Tutor] Python: 27 times faster than bash

2010-10-29 Thread Sean Carolan
> Can we see a version of your script? How about just a couple snippets...there's no proprietary data but I want to be on the safe side.  The original script consisted of a bunch of functions similar to the one below.  When I first wrote this I didn't know how to use sed very well, so I used varia

Re: [Tutor] module for clustering

2010-10-29 Thread Wayne Werner
On Fri, Oct 29, 2010 at 4:45 AM, Bala subramanian wrote: > Friends, > I have X and Y points and i want to cluster these points in 2D space, > Kindly suggest if there is any module that is loaded with python to do that > or any other package for the same. > matplotlib is pretty much amazing in th

[Tutor] module for clustering

2010-10-29 Thread Bala subramanian
Friends, I have X and Y points and i want to cluster these points in 2D space, Kindly suggest if there is any module that is loaded with python to do that or any other package for the same. Thanks, Bala ___ Tutor maillist - Tutor@python.org To unsubscr