diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-08 15:17:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-08 15:25:42 +0200 |
| commit | 9c5c7af7abe9e444210ac86b903eee775fc76a84 (patch) | |
| tree | 23e716e6df423d1516a6b1e51edd4d9a8d3a7370 /python/examples/move.py | |
| parent | 8af57b2ffd92daa9a40384ec8b6c49ffabc474d1 (diff) | |
| download | nissy-core-9c5c7af7abe9e444210ac86b903eee775fc76a84.tar.gz nissy-core-9c5c7af7abe9e444210ac86b903eee775fc76a84.zip | |
Small fixes
Diffstat (limited to 'python/examples/move.py')
| -rw-r--r-- | python/examples/move.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/examples/move.py b/python/examples/move.py index 3cdd606..9c7a756 100644 --- a/python/examples/move.py +++ b/python/examples/move.py | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | # Small example of nissy_python_module usage | 1 | # Small example of nissy_python_module usage |
| 2 | # See the solve.py example for more details on how this works | 2 | # See the solve.py example for more details on how this works |
| 3 | 3 | ||
| 4 | from sys import path | 4 | import os, sys |
| 5 | path.append("./") | 5 | |
| 6 | sys.path.append(os.getcwd()) | ||
| 6 | import nissy_python_module as nissy | 7 | import nissy_python_module as nissy |
| 7 | 8 | ||
| 8 | cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); | 9 | cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); |
