Read Me
////////////////////////////////////////////////////////////////
// sgf2csv
Author: Pete Martin, pete0877 at gmail
________________
LEGAL:
This is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ChumGo. If not, see <http://www.gnu.org/licenses/>.
________________
USAGE:
sgf2csv - tool for extracting Go game information from SGF files. Output format is comma-delimited, double-quoted format with first line being the headers.
Usage: sgf2csv.py game_1.sgf game_2.sgf ... game_N.sgf
or: sgf2csv.py -l list_file
(where list_file contains new-line delimited list of paths to the SGF files
Example:
$ python sgf2csv.py 20081209_Lee-Changho_Gu-Li.sgf
"FILE","DATE","RULES","BOARD_SIZE","KOMI","WHITE_NAME","WHITE_RANK","BLACK_NAME","BLACK_RANK","RESULT"
"20081209_Lee-Changho_Gu-Li.sgf","2008-12-09","Japanese","19","7.50","Gu Li","9p","Lee Changho","9p","B+Resign"