"Error en el bus" from python

Yusniel yhidalgo86 at gmail.com
Mon Oct 12 17:27:53 CEST 2009


On 12 oct, 00:08, Philip Semanchuk <phi... at semanchuk.com> wrote:
> On Oct 11, 2009, at 11:56 PM, Dennis Lee Bieber wrote:
>
> > On Sun, 11 Oct 2009 13:45:54 -0700 (PDT), Yusniel <yhidalg... at gmail.com
>
> > declaimed the following in gmane.comp.python.general:
>
> >>    prolog.consult("hanoi.pl")
> >    <snip>
> >> where "hanoy.pl" is a program with python code. Any solution for this
> >> error?. Thanks.
>
> >    Are you sure? .pl is a common extension for PERL programs, not
> > Python.
>
> My guess is that it is also a common extension for Prolog programs. I  
> think the OP's "program with python code" should have been "program  
> with prolog code".

Exactly. "hanoi.pl" is a prolog program. I'm using Ubuntu(9.04) 32
bit. In this case, this error is generated when I try run the above
script. However, others scripts in python, not throws this error, I
think that there are some problem with this library.



More information about the Python-list mailing list