summaryrefslogtreecommitdiff
path: root/tripler.py
blob: 527da2491bbd42b9d9509f2f8da773d39565c6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/python3

# ---------- title



# ---------- Imported modules
import inputoutput as io
import csv
import sys


# ---------- Main
target = sys.argv[1]

# ingress of data
numdata = io.ingressCSV(target)

# arithmetic operation
for i in range(len(numdata)):
    numdata[i] = 3 * numdata[i]

# finishing up
print("writing to file")
io.egressCSV(numdata,target)