Questions tagged [python]

Python is a general purpose and high level programming language. You can use Python for developing desktop GUI applications, websites and web applications.

Filter by
Sorted by
Tagged with
14 votes
1 answer
7k views

How to convert PGN moves to long algebraic notation (in python)?

I want to read a PGN file and then advance to a certain move number, and feed that to an UCI engine. Turns out engines work using long algebraic notation, and PGNs are in short algebraic. What is an ...
fastmultiplication's user avatar
5 votes
1 answer
2k views

Python script to let stockfish selfplay 10 games from a given position

I would like to have Stockfish to selfplay 10 games starting from a given position. Game should end after 10 moves. From the python-chess documentation there is an example of playing only one such ...
Arturo's user avatar
  • 273