view PY2_PATCH/script.py @ 0:46274846fc0c draft default tip

Uploaded
author triasteran
date Mon, 07 Mar 2022 14:46:55 +0000
parents
children
line wrap: on
line source

import sys
print 'script starts!'

input1 = sys.argv[1]
output1 = sys.argv[2]

I = open(input1, 'r')
O = open(output1, 'w')

for f in I.readlines():
    O.write(f+'1'+'\n')

O.close()
I.close()