My script is taking 12 hours+ any suggestions?

Javier Ruere javier_ruere at HotPOP.com
Mon Sep 1 02:47:05 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jiba wrote:

> If not, the solution is to use a rounded normal as key. E.g. use
'round(x * 100.0) / 100.0' instead of x for an (approximative) 0.01
precision, and proceed similarly with y and z.

  round can round to a given precition using the second optional
argument so this two expressions would be equivalent:

round(x*100)/100.0 == round(x, 2)

  Javier

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/Uuto8XQC840MeeoRAuLiAKCBBAAO4Q071hvfpa/m7NOi2Vq7AgCeOkLU
07hZL8F2ZzF2lyyZDRLHcZE=
=upl+
-----END PGP SIGNATURE-----






More information about the Python-list mailing list