diff options
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"); |
