mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
add from __future__ import print statement -> print() function xrange -> range map() -> list(map()) range() -> list(range()) StandardError -> Exception
11 lines
216 B
Python
11 lines
216 B
Python
# simple test of patch tool
|
|
# creates tmp.data.patch file
|
|
|
|
p = patch(0.5)
|
|
p.seed = 54321
|
|
p.build(100,"hex2",1,2,3)
|
|
p.build(50,"tri5",4,5)
|
|
p.write("tmp.data.patch")
|
|
|
|
print("all done ... type CTRL-D to exit Pizza.py")
|