On Fri, Mar 13, 2015 at 8:52 AM, Jurgis Pralgauskis <jurgis.pralgauskis@gmail.com> wrote:
Hi,

usually in computer graphics Y is counted to increase downwards.
I casn do it with:     setworldcoordinates(0, 400, 600, 0)

but then, "right(..)" turns to the left :/


I could swap:
right, left = left, right

but on errror I get a bit misleading message

>>> right()
Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    right()
TypeError: left() takes exactly 1 argument (0 given)

I thought to make this hack for kids, so better clearer error msgs...

Any Ideas?

http://bugs.python.org/issue23660  (includes a proposed "permanent" fix). 

André

 
Thanks :)
--
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt

_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
https://mail.python.org/mailman/listinfo/edu-sig