In article <[EMAIL PROTECTED]>, Andy Leszczynski wrote:
> >>> a=1.1
> >>> a
> 1.1001
> >>>
>
>
> Is it normal?
Yes, for floating-point numbers. This is due to inherent imprecision
in how floats are represented in hardware. If you can live with being
a touch off that many decimal plac
In article <[EMAIL PROTECTED]>, administrata wrote:
> I don't understand about % like...
>
> 107 % 4 = 3
> 7 % 3 = 1
>
That's the modulo operation; it returns the remainder, rather than the quotient.
--
zoerhoff(AT)sdf.lonestar.org
kristian.zoerhoff(AT)gmail.com
--
http://mail.python.org/mai
In article <[EMAIL PROTECTED]>, Andre wrote:
>
> import getpass, poplib, re
> POPHOST = "pop.mail.yahoo.com"
> POPUSER = "mylogin"
> POPPASS = "mypass"
> pop = poplib.POP3(POPHOST)
> pop.user(POPUSER)
>
>
> up to this point evertything proceeds fine, but when i do
>
>
> if not POPPASS:>
> POP