aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/dataset/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/maintenance/dataset/utilities')
-rw-r--r--wqflask/maintenance/dataset/utilities/fetch.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/wqflask/maintenance/dataset/utilities/fetch.py b/wqflask/maintenance/dataset/utilities/fetch.py
new file mode 100644
index 00000000..fcb2d2d8
--- /dev/null
+++ b/wqflask/maintenance/dataset/utilities/fetch.py
@@ -0,0 +1,11 @@
+import sys
+
+inputfile = open(sys.argv[1], 'r')
+
+for line in inputfile:
+ cells = line.split()
+ #print cells[int(sys.argv[2])]
+ i = len(cells)
+ print i
+
+inputfile.close()