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

@ -15,7 +15,7 @@ from log import log
from gnu import gnu
if len(sys.argv) != 4:
raise StandardError, "Syntax: logplot.py log.lammps X Y"
raise Exception("Syntax: logplot.py log.lammps X Y")
logfile = sys.argv[1]
xlabel = sys.argv[2]