annotate test-data/nice1tab.py @ 14:20dc70f85ff7 draft default tip

Uploaded
author arkarachai-fungtammasan
date Sun, 24 Jul 2016 18:15:32 -0400
parents 07588b899c13
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
1 import sys
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
2 fd=open(sys.argv[1])
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
3 lines=fd.readlines()
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
4 for line in lines:
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
5 temp=line.strip().split()
07588b899c13 Uploaded
arkarachai-fungtammasan
parents:
diff changeset
6 print '\t'.join(temp)