Copy the code into a text file with a name ending in .py - lets call it myfile.py for now (if you have not already done so)
>From a bash prompt type $ python myfile.py Then cut n paste any error messages into an email to the list Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ ----- Original Message ---- > From: roberto <[email protected]> > To: Alan Gauld <[email protected]> > Cc: [email protected] > Sent: Thursday, 30 September, 2010 10:02:51 > Subject: Re: [Tutor] function error > > On Wed, Sep 29, 2010 at 11:13 PM, Alan Gauld <[email protected]> >wrote: > > > > OK, Thats a non standard error trace so presumably you are running it inside > > an IDE of some kind? It may be the IDE is masking the true error. > > What happens if you just execute the code from a shell prompt in a console > > window? Can you send the error trace from that? > > > > yes, the IDE is ipython2.5 for debian; > the call to the function is: > >> randomMove2(10,30,15,90) > > but i don't know how to call it from the bash prompt correctly, can > you point me to that ? > > -- > roberto > _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
