Python Sudoku Screenshot 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:
noyesnonononoyes
Suggest an update

Comments

This is very easy to set up for batch printing. My mother will love this!
Re: Awesome! posted by anonymous on Nov 30 2005 6:26 PM
Yes, great work! I made a little Bash-Script for generating 4 Sudokus on one A4 Page with Solutions on the 2nd page. It works very well. Besides this I think I found an error while experimentating with the image output.
bolitho@Lysander:~/Progs/pythonsudoku-0.10> ./pythonsudoku.py -i --format=png --no_background --width=500 --height=500 test.sdk test.png
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'

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.
Re: Awesome! posted by xoseotero on Nov 30 2005 8:52 PM
bolitho@Lysander:~/Progs/pythonsudoku-0.10> ./pythonsudoku.py -i --format=png --no_background --width=500 --height=500 test.sdk test.png
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 :)
Re: Awesome! posted by anonymous on Dec 4 2005 12:13 PM
OK, I created a bug in your sourceforge project.
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
Re: Awesome! posted by xoseotero on Dec 4 2005 10:44 PM
What is PIL?

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!
Re: Awesome! posted by xoseotero on Dec 4 2005 11:55 PM
OK, I created a bug in your sourceforge project.

I think the bug is fixed, can you confirm it?
Could someone please make a gentoo ebuild for it?
Re: Gentoo ebuild posted by anonymous on Mar 3 2006 4:21 PM
I'm currently working on a ebuild for Gentoo..
Re: Gentoo ebuild posted by anonymous on Mar 3 2006 5:54 PM
Look at the bug, as I have attached an ebuild there that works here..

Log in or register to rate this game or post a comment.