Skip to content

Commit

Permalink
python 3 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebig committed Jan 28, 2016
1 parent cd1bb59 commit 93f767d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os

def usage():
print 'convert_scp_to_cntk.py -in [fea_list] [label_list]'
print ('convert_scp_to_cntk.py -in [fea_list] [label_list]')

def createDir(d):
if not os.path.isdir(d):
Expand All @@ -27,5 +27,5 @@ def createDir(d):
labs = [x.rstrip() for x in fr]
fr.close()
lenLab = len(labs)-1
print line + "[0,"+str(lenLab)+"]"
print (line + "[0,"+str(lenLab)+"]")
frnum = frnum + 1

0 comments on commit 93f767d

Please sign in to comment.