diff options
Diffstat (limited to '')
| -rw-r--r-- | python/examples/move.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/examples/move.py b/python/examples/move.py new file mode 100644 index 0000000..3cdd606 --- /dev/null +++ b/python/examples/move.py | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # Small example of nissy_python_module usage | ||
| 2 | # See the solve.py example for more details on how this works | ||
| 3 | |||
| 4 | from sys import path | ||
| 5 | path.append("./") | ||
| 6 | import nissy_python_module as nissy | ||
| 7 | |||
| 8 | cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); | ||
| 9 | print("Cube after the moves R' U' F:") | ||
| 10 | print(cube) | ||
