I am trying to get Stockfish to work in Python 3. Just to get started on my project, I tried to have Stockfish think until a depth of 20. However, the program instantly returns that Stockfish recommends 1.a3 in the starting position. After browsing these forums, I found out that the problem was that there was a missing '\n'. However, after adding it, the program still doesn't work. Can someone tell me what I did wrong? Code: [![enter image description here][1]][1] Message: [![enter image description here][2]][2] [1]: https://i.sstatic.net/RZFBJ.png [2]: https://i.sstatic.net/uY25k.png