Files
LPP/examples/test_ensight.py
danielque 539fd060c2 python 3 compatibility for examples/*.py files
add from __future__ import
print statement -> print() function
xrange -> range
map() -> list(map())
range() -> list(range())
StandardError -> Exception
2023-08-10 13:25:36 +02:00

12 lines
215 B
Python

# simple test of ensight tool
# requires files/dump.micelle.*
# creates tmp*.case, etc
d = dump("files/dump.micelle")
e = ensight(d)
e.one()
e.many()
e.single(0)
print("all done ... type CTRL-D to exit Pizza.py")