joshbduncan / word-search-generator

Make awesome Word Search puzzles!
MIT License
75 stars 24 forks source link

Export solution pdf #16

Closed joshbduncan closed 2 years ago

joshbduncan commented 2 years ago

Additional functionality in response to issues #14 and #15.

Added

Changed

ALEXDINO7 commented 2 years ago

Thanks for the update but still not working when i added solution=True i get the bellow error

puzzle.save(path="./puzzle.pdf",solution=True) TypeError: WordSearch.save() got an unexpected keyword argument 'solution'

joshbduncan commented 2 years ago

Yeah, I haven't merged the new feature code and released a new version yet... So if you installed it using pip you would get that error. I just wanted to get your feedback on the attached pdf to see if that is the result you were looking for before I released the new version.

joshbduncan commented 2 years ago

@ALEXDINO7 you can install the new program for testing on your system using the command below. This will install the latest code from the export-solution-pdf branch that is tied to this PR.

# if you are not using a virtual environment
pip install --user git+https://github.com/joshbduncan/word-search-generator.git@export-solution-pdf

# if you are using a virtual environment
pip install git+https://github.com/joshbduncan/word-search-generator.git@export-solution-pdf
ALEXDINO7 commented 2 years ago

@ALEXDINO7 you can install the new program for testing on your system using the command below. This will install the latest code from the export-solution-pdf branch that is tied to this PR.

# if you are not using a virtual environment
pip install --user git+https://github.com/joshbduncan/word-search-generator.git@export-solution-pdf

# if you are using a virtual environment
pip install git+https://github.com/joshbduncan/word-search-generator.git@export-solution-pdf

wooow it's working now you are the best