When you say "text file" and variables, you mean you have a file with n records and m fields? Isn't the following what you are searching for?
http://docs.scipy.org/doc/scipy/reference/cluster.html
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor