Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython Console in Spyder(Anaconda) is truncating output

The IPython console in Spyder(Anaconda) is truncating the upper part of the output when the output is large.
Eg I was trying to see what all is in the os module.
I wrote the command help(os) and the output was very big, so it truncated some of the top entries. What should I do to see the full output?

like image 660
idpd15 Avatar asked Dec 01 '17 11:12

idpd15


Video Answer


1 Answers

(Spyder maintainer here) This is done to avoid blocking Spyder when too much output is going to be printed in the console.

You can increase the current limit by going to

Tools > Preferences > IPython console > Display > Buffer

However, if you want to read the help associated to an object, you can press Ctrl + I (Cmd + I in macOS) in front of it and the get its help rendered in another Spyder pane called Help.

like image 146
Carlos Cordoba Avatar answered Nov 15 '22 06:11

Carlos Cordoba