NTRT Simulator
Version: Master
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Pages
printDistances.py
1
""" Prints the first comma-separated value on every line """
2
3
import
sys
4
5
try
:
6
f = open(sys.argv[1],
'
r')
7
for
line
in
f:
8
print
line.partition(
','
)[0]
# Implicit '\n' printed as well
9
finally
:
10
f.close()
11
dev
steve
Escape_T6
logs
printDistances.py
Generated on Wed Dec 19 2018 16:44:29 for NTRT Simulator by
1.8.6