[IPython-user] %paste and integer division

butterw@gmai... butterw@gmai...
Sat Mar 13 05:21:30 CST 2010


How can I configure Ipython so that %paste doesn't use integer division ?

In [160]: print 2/3
--------> print(2/3)
0.666666666667


Now if I copy the previous statement :
In [161]: %paste
0


I'm using iPython pylab 0.10 on win32 with Python 2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20100313/4bad0ff3/attachment.html 


More information about the IPython-user mailing list