Sudoku creation/resolution
Python Sudoku is a text and graphical (gtk interface) program to create or resolve sudokus. It can also print a sudoku (1 or 4 sudokus in each page) and write a image (png, jpeg, etc) with a sudoku.
License: free
Requirements: python, pygtk, reportlab, PIL
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | no | no | no | no | yes |
- Python Sudoku home page
- Download Python Sudoku
- Project Page in SourceForge
- Bug tracker
- Mailing list archive
Submitted by anonymous on 2005-11-28.

bolitho@Lysander:~/Progs/pythonsudoku-0.10> ./pythonsudoku.py -i --format=png --no_background --width=500 --height=500 test.sdk test.pngTraceback (most recent call last):
File "./pythonsudoku.py", line 418, in ? font, font_size, options.font_colour)
File "/home/bolitho/Progs/pythonsudoku-0.10/image.py", line 68, in __init__ self.draw_board()
File "/home/bolitho/Progs/pythonsudoku-0.10/image.py", line 119, in draw_board fill=self.lines, width=linewidth)
TypeError: line() got an unexpected keyword argument 'width'
Don't know see an error at my hand.
BTW: Perhaps you can make the grammar of the help output more precisely. At the moment it represents not really, what you intendet to do.
I hope you don't get me wrong now, it is a very good application and I like it.
Traceback (most recent call last):
File "./pythonsudoku.py", line 418, in ? font, font_size, options.font_colour)
File "/home/bolitho/Progs/pythonsudoku-0.10/image.py", line 68, in __init__ self.draw_board()
File "/home/bolitho/Progs/pythonsudoku-0.10/image.py", line 119, in draw_board fill=self.lines, width=linewidth)
TypeError: line() got an unexpected keyword argument 'width'
What version of PIL? What distribution? This should work with PIL 1.1.5 (that is the lattest version, with more than 8 months since the release). If some important distribution has 1.1.4 I can make that the code works with it.
BTW: Perhaps you can make the grammar of the help output more precisely. At the moment it represents not really, what you intendet to do.
Can you give me a example? (better if you use the sourceforge.net bug system: http://sourceforge.net/tracker/?atid=778307&group_id=150356&func=browse)
I hope you don't get me wrong now, it is a very good application and I like it.
Don't worry and thanks for the bug report :)
What is PIL?
I did a nice bash script for generating 4 sudokus on a A4 paper. Here is the link for all who are interested in this:
Link
PIL is "The Python Imaging Library" (url), the module that Python Sudoku uses to create images.
In debian PIL comes in the package "python-imaging".
I did a nice bash script for generating 4 sudokus on a A4 paper. Here is the link for all who are interested in this: Link
Nice!
I think the bug is fixed, can you confirm it?