diff options
Diffstat (limited to 'python/examples/variations.py')
| -rw-r--r-- | python/examples/variations.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/examples/variations.py b/python/examples/variations.py index 1a9d5bb..2507e6e 100644 --- a/python/examples/variations.py +++ b/python/examples/variations.py | |||
| @@ -1,9 +1,10 @@ | |||
| 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 | import sys, os | 4 | import sys, os |
| 5 | sys.path.append(os.getcwd()) | 5 | sys.path.append(os.getcwd()) |
| 6 | import nissy_python_module as nissy | 6 | sys.path.append(os.getcwd() + os.path.sep + "python") |
| 7 | import nissy | ||
| 7 | 8 | ||
| 8 | moves = "R U' Bw2 M D' x' F B(E2 F D B' Lw2 U2 U' S2 B)" | 9 | moves = "R U' Bw2 M D' x' F B(E2 F D B' Lw2 U2 U' S2 B)" |
| 9 | 10 | ||
