pycrossword
User Guide
×
Menu tab
Index tab

3.3. Creating a new crossword

 
To create a new crossword, go to the File > New menu, or press the   button on the Toolbar, or press Ctrl + N. You will be presented with 3 options in the following dialog:
 
3.3. Creating a new crossword
Fig. 3.3.1. New crossword dialog
1

Pattern option

1. Pattern option
Load the crossword from a pattern file.
 
A pattern file is a simple text file containing the crossword grid structure as an array of characters, where rows are delimited by a new-line symbol. The following characters may be used in a pattern file:
  • Alphabetic characters in the lower case, e.g. "a", "b", "c" (or any non-Latin Unicode ones)
  • The underscore ("_") for a blank (unfilled) character
  • The asterisk ("*") for a blocked cell
 
Here's an example of a pattern file content:
*_*_*_ea
ab*___*_
n____*__
t__*__*n
 
The resulting grid would look as follows:
 
 
 
 
 
 
e
a
a
b
 
 
 
 
 
 
n
 
 
 
 
 
 
 
t
 
 
 
 
 
 
n
2

File option

2. File option
Load the crossword from a crossword file. See Loading, saving, reloading and closing crosswords.
3

Empty grid option

3. Empty grid option
Creates an empty crossword grid of specified dimensions (number of rows and columns) using one of the 6 block patterns:
 
Fig. 3.3.2. Creating a crossword with an empty grid
 
For example, if you set your grid to have 8 rows and 7 columns and choose Pattern 1, the grid will look as follows:
 
submit to reddit
Made with help of Dr.Explain