diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-11 12:05:08 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-11 12:05:08 +0200 |
| commit | 4544e08997a7af6a8defa47efae1e9ba5c2c30f6 (patch) | |
| tree | aa211e7f80429ca758573349e1866861469ec12b /python/examples/variations.py | |
| parent | d25f23805c6d7128b508a359d47af136dd2fd0db (diff) | |
| download | nissy-core-4544e08997a7af6a8defa47efae1e9ba5c2c30f6.tar.gz nissy-core-4544e08997a7af6a8defa47efae1e9ba5c2c30f6.zip | |
Simplified name of Python module
Diffstat (limited to '')
| -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 | ||
