Sudoko solver

2006-07-04 Thread Rony Steelandt
Hi all,

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

Rony


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Sudoko solver

2006-07-04 Thread Fredrik Lundh
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 



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Sudoko solver

2006-07-04 Thread Ángel Gutiérrez Rodríguez
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 - [EMAIL PROTECTED]
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: [EMAIL PROTECTED] Telf.: +34-985103687
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Sudoko solver

2006-07-04 Thread Simon Forman
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

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Sudoko solver

2006-07-04 Thread Rony Steelandt

Sybren Stuvel [EMAIL PROTECTED] a écrit dans le 
message de news: [EMAIL PROTECTED]
 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


-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Sudoko solver

2006-07-04 Thread Rony Steelandt

Sybren Stuvel [EMAIL PROTECTED] a écrit dans le 
message de news: [EMAIL PROTECTED]
 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


-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Sudoko solver

2006-07-04 Thread Rony Steelandt

Sybren Stuvel [EMAIL PROTECTED] a écrit dans le 
message de news: [EMAIL PROTECTED]
 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


-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Sudoko solver

2006-07-04 Thread Fredrik Lundh
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 



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Sudoko solver

2006-07-04 Thread Jon Ribbens
In article [EMAIL PROTECTED], 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.
-- 
http://mail.python.org/mailman/listinfo/python-list