NuGrid / NuGridPy

Python tools to access and analyse NuGrid output data (including from MESA)
http://nugrid.github.io/NuGridPy
BSD 3-Clause "New" or "Revised" License
13 stars 10 forks source link

Upgrade sewrite.py and se.py to python 3 #52

Closed dpa1983 closed 6 years ago

dpa1983 commented 6 years ago

sewrite.py and se.py have to be upgraded to python 3. In particular, print commands have to be supplied with parenthesis, xrange has to be replaced with range, izip with zip, delete import of izip. It is also important to use strings in the python 3 format, like b'1.2'.