Skip to content
riverrun edited this page Mar 6, 2012 · 25 revisions

genxword is a crossword generator written in Python

It creates a crossword from a list of words and clues, or just words, in a text file, and it outputs a crossword with clues in pdf format, and / or the crossword in png / svg format together with a text file containing the word bank and clues.

Word list file

Some examples

  • genxword word_list.txt n

The above command uses the word_list.txt file to produce png versions of the empty grid and the key and a text file containing the word bank and clues.

  • genxword word_list.txt p

This command uses the word_list.txt file to produce A4-sized pdf versions of the empty grid with the clues and the key with the clues.

  • genxword -a -o "Monty" python_words ls

In this case, the '-a' option means that genxword is being run non-interactively. It is using the 'python_words' word list file, and it will produce letter-sized pdf versions of the empty grid and key, with clues, and svg versions of the empty grid and key, together with a text file containing the word bank and clues.

Clone this wiki locally