Skip to content

PGN2FENBatch can be used to easily convert PGN data into FEN for end position analysis.

License

Notifications You must be signed in to change notification settings

Juzkus/PGN2FENBatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PGN2FENBatch

This project is made for Simon, but it is here for anyone finds it useful.

This script can be used to easily convert PGN data into FEN for end position analysis.

Background

Chess.com - How to automatically extract FEN code of several ammount of games?

Dependencies

Language/Runtime

Python 3

Library

python-chess

pip install python-chess

Usage

Example

This will create the file "BobbyFischer.fen" with a list of FEN end position strings in the same order as BobbyFischer.pgn.

python batch.py --pgn 'c:\users\your_user\desktop\BobbyFischer.pgn' --out 'c:\users\your_user\desktop\BobbyFischer.fen'

About

PGN2FENBatch can be used to easily convert PGN data into FEN for end position analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages