Phoe6 wrote:
> I would like to request a code and design review of one of my program.
> n-puzzle.py
> I have used OO Python for the above program and would like comments on
> my approach as I am just starting with OOP.
[The following has nothing to do with OOP, I just read Raymond's post and
got
Peter Otten wrote:
> Steve Holden wrote:
>
>> Phoe6 wrote:
>>> On May 19, 2:23 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
Instead of:
short_path = mdists[0]
if mdists.count(short_path) > 1:
write:
short_path = mdists[0]
if short_path in mdists[1:
Steve Holden wrote:
> Phoe6 wrote:
>> On May 19, 2:23 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>>> Instead of:
>>> short_path = mdists[0]
>>> if mdists.count(short_path) > 1:
>>> write:
>>> short_path = mdists[0]
>>> if short_path in mdists[1:]:
>>
>> I would like to under
Phoe6 wrote:
> On May 19, 2:23 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>> On May 18, 4:15 pm, Phoe6 <[EMAIL PROTECTED]> wrote:
>>> I would like to request a code and design review of one of my program.
>>> n-puzzle.pyhttp://sarovar.org/snippet/detail.php?type=snippet&id=83
>> Nice job, thi
On May 19, 2:23 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> On May 18, 4:15 pm, Phoe6 <[EMAIL PROTECTED]> wrote:
> > I would like to request a code and design review of one of my program.
> > n-puzzle.pyhttp://sarovar.org/snippet/detail.php?type=snippet&id=83
>
> Nice job, this doesn't look
On May 18, 4:15 pm, Phoe6 <[EMAIL PROTECTED]> wrote:
> Hi All,
> I would like to request a code and design review of one of my program.
> n-puzzle.pyhttp://sarovar.org/snippet/detail.php?type=snippet&id=83
> Its a N-puzzle problem solver ( Wikipedia page
> andhttp://norvig.com/ltd/test/n-puzzle.li
Hi All,
I would like to request a code and design review of one of my program.
n-puzzle.py
http://sarovar.org/snippet/detail.php?type=snippet&id=83
Its a N-puzzle problem solver ( Wikipedia page and
http://norvig.com/ltd/test/n-puzzle.lisp
)
I have used OO Python for the above program and would l