 |
|
Re: Awesome!
posted by
Anonymous
@ 84.133.211.134
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. |
| |
|
[Reply]
|
 |
|
Re: Awesome!
posted by
xoseotero
@ 217.124.20.101
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 :)
|
| |
|
[Reply]
|
 |
|
Re: Awesome!
posted by
Anonymous
@ 84.133.209.242
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
|
| |
|
[Reply]
|
 |
|
Re: Awesome!
posted by
xoseotero
@ 217.124.20.136
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! |
| |
|
[Reply]
|
| |
| |
| |
| |