Closed joshbduncan closed 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'
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.
@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 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
Additional functionality in response to issues #14 and #15.
Added
save()
method. Just specifysolution=True
after the path.show(solution=True)
method)Changed
save()
method now accepts thesolution
argument.export_pdf_file()
andexport_csv_file()
now accept a WordSearch object as the main argument.