aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/clusters.py4
-rw-r--r--source/testclusters.py5
2 files changed, 6 insertions, 3 deletions
diff --git a/source/clusters.py b/source/clusters.py
index bdfebe6e..02766bdf 100755
--- a/source/clusters.py
+++ b/source/clusters.py
@@ -1,4 +1,6 @@
-# -*- coding: utf-8 -*-
+#! /usr/bin/env python
+#-*- coding: utf-8 -*-
+
import random
from math import sqrt
diff --git a/source/testclusters.py b/source/testclusters.py
index a16d3492..728e9c1b 100644
--- a/source/testclusters.py
+++ b/source/testclusters.py
@@ -1,4 +1,5 @@
-# -*- coding: utf-8 -*-
+#! /usr/bin/env python
+#-*- coding: utf-8 -*-
import clusters
@@ -20,4 +21,4 @@ for i in range(K):
-clusters.draw2d(coords,blognames,jpeg='mds2d.jpg') \ No newline at end of file
+clusters.draw2d(coords,blognames,jpeg='mds2d.jpg')
bgstack15