pycrossword
User Guide
×
Menu tab
Index tab

3.4. Loading, saving, reloading and closing crosswords

 

Loading a crossword from a file

 
To load a crossword from a file, go to the File > Open menu, or press the   button on the Toolbar, or press Ctrl + O.
 
If you have unsaved changes in your current crossword, a confirmation dialog will appear to let you save these changes first:
 
Fig. 3.4.1. Save changes dialog
 
Press Yes to save your crossword or No to ignore modifications and close it without saving.
 
pycrossword supports the following file formats:
 
The first three formats (XPF, IPUZ, JSON) can store both the crossword grid and the clues, whereas pattern files naturally contain only the grid structure and words. XPF and IPUZ files can also store crossword meta-information like publishing date, author, etc.
 

Saving the crossword

 
To save your current crossword, go to the File > Save menu, or press the   button on the Toolbar, or press Ctrl + S.
 
If your crossword was loaded from a file as described above, the modified crossword will be written to the same file, using the same format. Otherwise, you will be presented with a Save As dialog as described further in Exporting the crossword.
 
The Save action is enabled only when the crossword has been modified. If there are no changes to save, this action will be disabled.
 

Reloading the crossword

 
If you've done some modifications in your crossword but you'd like to discard them all, you can reload it from the file by selecting the File > Reload menu, or pressing the F5 key. All your changes since the last save will be discarded, and the crossword will be reloaded from the file anew.
 

Closing the crossword

 
To close the current crossword, go to the File > Close menu or press Ctrl + W or Ctrl + F4 (hotkeys may differ depending on your operating system). This time again the application will notify you if you have unsaved changes.
submit to reddit
Made with help of Dr.Explain