annotate test-data/nice1tab.py @ 1:99ec84eb0bab draft default tip

Uploaded
author arkarachai-fungtammasan
date Wed, 01 Apr 2015 17:00:21 -0400
parents 70f8259b0b30
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
1 import sys
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
2 fd=open(sys.argv[1])
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
3 lines=fd.readlines()
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
4 for line in lines:
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
5 temp=line.strip().split()
70f8259b0b30 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
6 print '\t'.join(temp)