Re: round() wrong in Python 2.4?

2005-09-14 Thread Robert Kern
Robert Kern wrote: > Reinhold Birkenfeld wrote: > >>Robert Kern wrote: > >>>Antoon: >>>"Python 2.3 isn't rounding 0.0225 up while pyton 2.4 rounds it down." >> >>Written in Pseudocode: >> >>not (Py2.3 rounding up and Py2.4 rounding down) > > I presumed the "isn't" was a typo given the "while."

Frivolous pursuit - automated game playing program

2005-09-14 Thread Paul McGuire
My son showed me this Flash game, Orbit (there are *many* links on the web out there for it, here's one for the Google-challenged: http://uploads.ungrounded.net/25/250408_orbit.swf), and it is *addicting*. Basically, you control a comet to traverse through the gravitational fields of randomly

Builtin classes list, set, dict reimplemented via B-trees

2005-09-14 Thread barnesc
Nifty, Tim Peters responded to my e-mail. I must've said something interesting. Cool, a PyCelebrity! >[barnesc at engr.orst.edu] >> ... >> I've gotten bored and went back to one of my other projects: >> reimplementing the Python builtin classes list(), set(), dict(), >> and frozenset() with bal

Re: List of integers & L.I.S. (SPOILER)

2005-09-14 Thread n00m
Thank you both for your replies. And my personal "Thank you!" to Mr. Hettinger for all his tremendous work! > Perhaps because you are not using a real Usenet client? Yes! And I don't even know what is the beast - Usenet client. I just keep in Favorites of my browser (IE 6.0) this link: http://grou

ddd or eclipse with mod_python

2005-09-14 Thread Sakcee
Hi I am using mod_python for web development, I am in need of some ide , can i use ddd or eclipse with pydev with mod_python. can these ide's handle requests from mod_python and run server side scripts any help or pointers are greatly appreciated thanks clive -- http://mail.python.org/mailm

Hello everything

2005-09-14 Thread David Pantoja
I have an application in tkinter, one button call to another window, but the position of this window is random, i' whish to ask at the list, if exist a function to put the window in x position of the screen, if exist, which function is it?... thanks in advanced... david -- http://mail.python.org

Re: What XML lib to use?

2005-09-14 Thread Fredrik Lundh
Robert Kern wrote: > His interpretation of your words is a perfectly valid one even in the > context of this thread. "in Python" explicitly provides a context for > the rest of the sentence. Exactly. "in Python", not "in an application with an existing API". (also, if the OP had been forced to

Re: PyGTK or wXPython?

2005-09-14 Thread Rod W
Magnus Lycka wrote: > What OS(es) do yo need to support? My apps will mostly be run on Windows desktops, but there are some Linux users. > I'm curious about PyGTK on Windows. It seems to me that the GTK+ > Windows port is lagging behind a bit (no 2.8?), doesn't look or > behave quite as native w

Re: Hello everything

2005-09-14 Thread Fredrik Lundh
David Pantoja wrote: > I have an application in tkinter, one button call to another window, > but the position of this window is random, i' whish to ask at the > list, if exist a function to put the window in x position of the > screen, if exist, which function is it?... try w.geometry("%+d%

<    1   2   3