new division in Pythonwin

Jive Dadson notareal at
Wed Jul 13 00:33:06 CEST 2005

I like to use Pythonwin as my desktop calculator.  It's bothersome
to have to type in "from __future__ import division" into the
interactive window every time I open it.  I've tried various ways to
attempt to get it to import new division at startup, but no luck.  I
can get it to execute a file, but apparently it does so in an
environment that gets discarded, rather than in the environment of
the interactive window.  So the "from __future__" statement has no

Any suggestions?


More information about the Python-list mailing list