commit ecc5e71e2d26fbf2f0bf2298ff8ee40366bd4ac7 parent de6fa5b9122758f261675aa31fe3cb6e7bab92e5 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Fri, 18 Jul 2025 15:26:59 +0200 Added simpler python example Diffstat:
A | python/examples/move.py | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/python/examples/move.py b/python/examples/move.py @@ -0,0 +1,10 @@ +# Small example of nissy_python_module usage +# See the solve.py example for more details on how this works + +from sys import path +path.append("./") +import nissy_python_module as nissy + +cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); +print("Cube after the moves R' U' F:") +print(cube)