Body: <p>Using stockfish engine with python, i can use the bellow code to set an option:</p>
  <pre><code>import chess.engine
  
  engine = chess.engine.SimpleEngine.popen_uci(&quot;/usr/bin/stockfish&quot;)
  
  # Set an option.
  engine.configure({&quot;Hash&quot;: 32})
   
  </code></pre>
  <p>But when I print the option I just configured, no field relating to the current value appears:</p>
  <pre><code>print(engine.options[&quot;Hash&quot;])
  #Result: &quot;Option(name='Hash', type='spin', default=16, min=1, max=131072, var=[])&quot;
  </code></pre>
  
Tags: <stockfish><computer-chess><python>
Title: How can i see 'engine.options' values?
ThreadText: # How can i see 'engine.options' values?
  
  (Asked by: username_0 on 2024-06-25)
  
  Using stockfish engine with python, i can use the bellow code to set an option:
  import chess.engine
  
  engine = chess.engine.SimpleEngine.popen_uci("/usr/bin/stockfish")
  
  # Set an option.
  engine.configure({"Hash": 32})
   
  
  But when I print the option I just configured, no field relating to the current value appears:
  print(engine.options["Hash"])
  #Result: "Option(name='Hash', type='spin', default=16, min=1, max=131072, var=[])"
  
  **Tags:** stockfish, computer-chess, python
  
  
  ---
  
  ## 0 answers
  
  