Bad Math

2005-07-01 Thread Patrick Rutkowski
I started reading a python book today, one example was: >>> 4 / (2.0 + 3) 0.8 My input/output was: >>> 4 (2.0 + 3) 0.80004 Something smells fishy here... whats up? --python 2.4.1 -- http://mail.python.org/mailman/listinfo/python-list

Re: Bad Math

2005-07-02 Thread Patrick Rutkowski
On 7/2/05, Brian van den Broek <[EMAIL PROTECTED]> wrote: > Patrick Rutkowski said unto the world upon 02/07/2005 00:12: > > That's... annoying, to say the least. And my number 4/5 was a rational > > number too; I can understand how when doing 1/3 things can get funky

HTML Conventions

2005-07-04 Thread Patrick Rutkowski
I couldn't help but make an even better list in reference to this thread: http://mail.python.org/pipermail/python-list/2005-July/288678.html Type Convention Example funtion action_with_underscores find_all vari

Re: Trapping user logins in python ( post #1)

2005-07-04 Thread Patrick Rutkowski
On Monday 04 July 2005 13:49, Jeff Epler wrote: > I don't know of a portable way for an inetd-style daemon to "listen" for > user logins. > > On some systems (including RedHat/Fedora and debian), you may be able to > use PAM to do this. (pam modules don't just perform authentication, > they can ta

Re: Good starterbook for learning Python?

2005-07-05 Thread Patrick Rutkowski
On Tuesday 05 July 2005 11:32, Lennart wrote: > Hi everybody, > > Can someone advice me with the following issue: i want to learn python in > my summer vacation (i try to ...:-) So, a good start is buying a good book. > But wich? There are many ... > > I'm living in the Netherlands and I prefer a b