Commit a6b7d3912f3ce7dd15c545b740582f0e59db1a99

Authored by Yuval Adam
1 parent c5bddb71

Update lfpwToSigset.py

Fix syntax error when running in Python 3
while maintaining Python 2 compatability
Showing 1 changed file with 1 additions and 1 deletions
scripts/lfpwToSigset.py
... ... @@ -37,7 +37,7 @@ for lfpwType in ['train','test']:
37 37 if not os.path.exists('sigset'):
38 38 os.mkdir('sigset')
39 39 out = open('sigset/%s.xml' % lfpwType,'w')
40   - print >> out, xmlRoot.toprettyxml()
  40 + out.write(xmlRoot.toprettyxml())
41 41 out.close()
42 42  
43 43  
... ...