Answers.Body: <p>You can download the tablebases from the <a href="https://syzygy-tables.info/#download" rel="nofollow noreferrer">Syzygy website</a>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-15T05:59:11.327Z
Answers.LastActivityDate: 2024-03-15T13:32:00.920Z
Answers.LastEditDate: 2024-03-15T13:32:00.920Z
Answers.UserDisplayName: Matija Sirk
Body: <p>From where can I download this &quot;data/syzygy/regular&quot; file so that the code below becomes
  functional ?</p>
  <pre><code>import chess
  
  import chess.syzygy
  
  
  with chess.syzygy.open_tablebase(&quot;data/syzygy/regular&quot;) as tablebase:
  
      board = chess.Board(&quot;8/2K5/4B3/3N4/8/8/4k3/8 b - - 0 1&quot;)
  
      print(tablebase.probe_wdl(board))
  </code></pre>
  <blockquote>
  <p>-2</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-14T23:35:04.413Z
Comments.Text: where did you get this code
Comments.UserDisplayName: qwr
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-15T01:36:24.183Z
Comments.Text: imo, good question
Comments.UserDisplayName: Inertial Ignorance
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-15T10:17:03.897Z
Comments.Text: @InertialIgnorance In the link [below](https://syzygy-tables.info/#download) there are **too many** small files. I was looking for a one or two files which I would put into that directory "data/syzygy/regular". Where can I reach them ? Or shall I download them one by one ?? :-( The code is [here](https://python-chess.readthedocs.io/en/v1.10.0/syzygy.html)
Comments.UserDisplayName: user2925716
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-15T10:50:44.890Z
Comments.Text: @user2925716 see https://stackoverflow.com/a/5317668/6212530 for how to download multiple files at the same time.
Comments.UserDisplayName: Matija Sirk
Tags: <engines><tablebases>
Title: Table bases: an endgame challenge
ThreadText: # Table bases: an endgame challenge
  
  (Asked by: username_0 on 2024-03-14)
  
  From where can I download this "data/syzygy/regular" file so that the code below becomes
  functional ?
  import chess
  
  import chess.syzygy
  
  
  with chess.syzygy.open_tablebase("data/syzygy/regular") as tablebase:
  
      board = chess.Board("8/2K5/4B3/3N4/8/8/4k3/8 b - - 0 1")
  
      print(tablebase.probe_wdl(board))
  
  
  -2
  
  **Tags:** engines, tablebases
  
  > **Comments:**
  > **username_1**: where did you get this code  
  > **username_2**: imo, good question  
  > **username_0**: @InertialIgnorance In the link [below](https://syzygy-tables.info/#download) there are **too many** small files. I was looking for a one or two files which I would put into that directory "data/syzygy/regular". Where can I reach them ? Or shall I download them one by one ?? :-( The code is [here](https://python-chess.readthedocs.io/en/v1.10.0/syzygy.html)  
  > **username_3**: @username_0 see https://stackoverflow.com/a/5317668/6212530 for how to download multiple files at the same time.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2024-03-15. Score: 5
  
  You can download the tablebases from the [Syzygy website](https://syzygy-tables.info/#download).
  
  
  ---
  
  