[python-win32] BSTR

Gabriel Genellina gabrielg_laburando at yahoo.com.ar
Sat Apr 15 03:53:03 CEST 2006

> P.S.: Gabriel, yes, I have put Sleep(1) now, even
> though it
> worked without the parenthesis too, even thought it
> shouldn't,
> right?

Well, it "worked" in the sense that it gave no errors
because time.sleep is a valid Python expression, but
it has not the desired effect.
It's a common pitfall, specially if you come from VB,
that's why I menction it here.
Like, in C: if (a=b) {...} which "works" but usually
is not the intended behavior.

Gabriel Genellina
Softlab SRL

Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

More information about the Python-win32 mailing list