A script to export OGS puzzles as sgf files

It’s not very user-friendly, and I don’t think there is much demand for it. Anyway, there might be some benefit in linking it here? Feedback is welcome


Awesome script! Since you say feedback is welcome, a couple of python features that you probably already know about, but on the off chance you don’t:

  • Raw strings: r'\' == '\\' and r'\\' == '\\\\'
  • getpass.getpass(): nice for when you don’t want your password shown in the terminal
  • formatted string literals: much nicer to read and write than the 'asdf' + str(num) + 'jklm' pattern:
1 Like

@goflow, I know that was an old thread, but this may help you export SGFs