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

Uploaded
author triasteran
date Mon, 07 Mar 2022 14:46:55 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:46274846fc0c
1 import sys
2 print 'script starts!'
3
4 input1 = sys.argv[1]
5 output1 = sys.argv[2]
6
7 I = open(input1, 'r')
8 O = open(output1, 'w')
9
10 for f in I.readlines():
11 O.write(f+'1'+'\n')
12
13 O.close()
14 I.close()
15