From 4544e08997a7af6a8defa47efae1e9ba5c2c30f6 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 11 Aug 2025 12:05:08 +0200 Subject: Simplified name of Python module --- python/examples/move.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'python/examples/move.py') diff --git a/python/examples/move.py b/python/examples/move.py index 9c7a756..0ed879b 100644 --- a/python/examples/move.py +++ b/python/examples/move.py @@ -1,10 +1,13 @@ -# Small example of nissy_python_module usage +# Small example of nissy Python module usage # See the solve.py example for more details on how this works import os, sys +# Assume we are eithe rin the top-level directory of the nissy-core repo, +# or in the python subdirectory sys.path.append(os.getcwd()) -import nissy_python_module as nissy +sys.path.append(os.getcwd() + os.path.sep + "python") +import nissy cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); print("Cube after the moves R' U' F:") -- cgit v1.3