Re: a prob.. error in prog ..dont knw how to correct

2012-10-21 Thread Jussi Piitulainen
inshu chauhan writes: > I am new to python and have a little problem to solve .. i have an > array with x, y, z co-ordinates in it as a tuple. I am trying to find > the distance between each point and sorting the points according to > the min distance.. i have tried a prog but m stuck bcoz of this

Re: a prob.. error in prog ..dont knw how to correct

2012-10-21 Thread Zero Piraeus
: On 21 October 2012 06:09, inshu chauhan wrote: > I am new to python and have a little problem to solve .. > import cv This module is not used in your code [and isn't part of the standard library]. > from math import floor, sqrt, ceil You're only using one of these functions. > from numpy i

a prob.. error in prog ..dont knw how to correct

2012-10-21 Thread inshu chauhan
I am new to python and have a little problem to solve .. i have an array with x, y, z co-ordinates in it as a tuple. I am trying to find the distance between each point and sorting the points according to the min distance.. i have tried a prog but m stuck bcoz of this error which I am unable to cor