By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

Sudoko solver

P: n/a
Hi all,

I wonder if somebody had a Sudoko solver written in Python ?

Rony
Jul 4 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Rony Steelandt wrote:
I wonder if somebody had a Sudoko solver written in Python ?
http://www.google.com/search?q=python+soduko returns some 15000 hits,
including this little gem:

http://norvig.com/sudoku.html

</F>

Jul 4 '06 #2

P: n/a
I have one myself (~400 records). it uses the simplest rules, and then trial
and error, but it works so far.
--
Ángel Gutiérrez Rodr*guez - ag*@fq.uniovi.es
Instituto de Ciencia de los Materiales de Madrid - CSIC
SpLine - European Syncrothorn Radiation Facility - Grenoble - France

Postal adress: Departamento de Qu*mica F*sica y Anal*tica
Universidad de Oviedo - c/Julián Claver*a 8 33006 - Oviedo
Asturias - Spain
E-mail: ag*@fq.uniovi.es Telf.: +34-985103687
Jul 4 '06 #3

P: n/a
Rony Steelandt wrote:
Hi all,

I wonder if somebody had a Sudoko solver written in Python ?

Rony
Dude, there's like a million of them. Try "Sudoko solver Python" in
google.

I wrote one myself based on Knuth's Dancing Links algorithm and using
Tkinter for the gui. I'll send it to you or post it here if you really
want. But try google first. ;-) there are certainly bound to be
better ones out there.
~Simon

Jul 4 '06 #4

P: n/a

"Sybren Stuvel" <sy*******@YOURthirdtower.com.imaginationa crit dans le
message de news: sl**********************@schuimige.stuvel.eu...
Rony Steelandt enlightened us with:
>I wonder if somebody had a Sudoko solver written in Python ?

Check out http://www.stuvel.eu/sodoku - it is a Sudoku game with the
ability to solve & create new puzzles.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
yes thanks Sybren, I just found yours.
looks good and I have wx installed

@to others,
sorry for the question, you where right, google had the answer
thanks

rony
Jul 4 '06 #5

P: n/a

"Sybren Stuvel" <sy*******@YOURthirdtower.com.imaginationa crit dans le
message de news: sl**********************@schuimige.stuvel.eu...
Rony Steelandt enlightened us with:
>I wonder if somebody had a Sudoko solver written in Python ?

Check out http://www.stuvel.eu/sodoku - it is a Sudoku game with the
ability to solve & create new puzzles.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
it looks like both zip files are corrupted (for windows platform)?
I managed to install from source so not a big problem, but it would be nice
to have the puzzle pack

Rony
Jul 4 '06 #6

P: n/a

"Sybren Stuvel" <sy*******@YOURthirdtower.com.imaginationa crit dans le
message de news: sl**********************@schuimige.stuvel.eu...
Rony Steelandt enlightened us with:
>it looks like both zip files are corrupted (for windows platform)?

Can you tell me more? So far I can only tell you that they work just
fine for me, and 'unzip -t puzzlepack*.zip' tells me the ZIP is fine.
This is on Linux.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Yes, this is on windows using winzip
It says the zip file is not a valid zipfile

Could you send your zip directly to me by mail ? bucodi (at) yahoo (dot) fr
Rony
Jul 4 '06 #7

P: n/a
Rony Steelandt wrote:
Yes, this is on windows using winzip
It says the zip file is not a valid zipfile
make sure you save it to disk before opening it.

</F>

Jul 4 '06 #8

P: n/a
In article <44*********************@news.orange.fr>, Rony Steelandt wrote:
Yes, this is on windows using winzip
It says the zip file is not a valid zipfile
Works fine for me on Windows. Try deleting the file you downloaded,
clearing your browser cache, and trying again.

On the other hand, when you run it it immediately pops up a huge
dialog saying that there is a new version available, "404 File Not
Found", and a huge pile of HTML source. The game itself seems to work
though.
Jul 4 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.