[IPython-user] %ed returns "\n"

Matt Wilkie maphew at gmail.com
Fri Jan 27 17:11:08 CST 2006


Hi there,

As of ipy .7 and .7.1 whenever I use %ed the output has embedded
newlines. Is this the intended behaviour?

   %ed
   ...edit file...
   Out[2]: "try:\n\tprint 'one'\n\tprint 'two'\nexcept:\n\tprint
'exception'\n\n"

where the edit is:

  try:
	print 'one'
	print 'two'
  except:
	print 'exception'


I'm on windows xp. The same thing happens whether I use notepad,
cygwin vim or cream+vim.

--
-matt




More information about the IPython-user mailing list