logo

Home

Kombilo

A go database program

uliGo

A program to practice solving go problems

Classical
go problems

Game records

Links

About this site
Impressum

A Django site.

sgf2pdf

Here is another unfinished project which nevertheless might be useful for somebody. Using Python and the Reportlab toolkit, the script goboard.py produces a pdf file showing a given position on the go board. The position has to be given in wiki format (as used by Sensei's Library), and as in SL diagrams, stones can be labelled with 1-10, and other labels can be put at empty points.

One thing you can do with a pdf is to produce an image file from it - the example here was produced in this way, and so were the pictures of go problems used to prevent comments from spam bots.

There is also a sgf2pdf.py script, which is not at all finished however. I doubt it is actually usable right now, but maybe someone wants to have a look at it. It uses the sgfparser.py which comes with Kombilo.

Files: goboard.py sgf2pdf.py position

Posted by ug on September 10, 2006

Archive

June 07
March 07
February 07
October 06
September 06

Tags

Game records
Kombilo
Miscellaneous
Scripts
uliGo