Hi I joined the list to demonstrate the wonderful benefits of such a list to our organisation, but I don't know how to unsubscribe. HELP!!! Ken :o) ----- Original Message ----- From: "Guido van Rossum" <gvanrossum@gmail.com> To: "Christian Mascher" <christian.mascher@gmx.de> Cc: <edu-sig@python.org> Sent: Monday, February 28, 2005 9:59 AM Subject: Re: [Edu-sig] How do I import from __future__ at startup?
I want division always to be imported from __future__ at startup.
Putting from __future__ import division in a file sitecustomize.py doesn't work (which I think is counterintuitive). Do I have to use PYTHONSTARTUP variable? Is there any way at all?
I searched google and python.org but didn't find a quick answer to this. Perhaps somebody can help me out?
$ python -Qnew Python 2.3.4 (#2, Aug 6 2004, 10:37:58) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
1/2 0.5
-- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig