update log pizza.py files to python 3

This commit is contained in:
ali
2022-02-21 17:25:13 -06:00
parent 7ea26161f7
commit 5c297fa4d1
3 changed files with 49 additions and 50 deletions

View File

@ -16,7 +16,7 @@ sys.path.append(path)
from log import log
if len(sys.argv) < 3:
raise StandardError, "Syntax: log2txt.py log.lammps data.txt X Y ..."
raise Exception("Syntax: log2txt.py log.lammps data.txt X Y ...")
logfile = sys.argv[1]
datafile = sys.argv[2]