saving . . . saved Command %h not working as per required has been deleted. Command %h not working as per required has been hidden .
Command %h not working as per required
Title
Question
Command "%h 3" (for example), should display recent 3 commands including\r\n %h command. Instead only the 3rd command gets displayed. Can anyone \r\nhelp please?

Python Additional-features-of-IPython 00-01 min 0-10 sec 18-03-15, 9:33 p.m. steffy

Answers:

Hi,

Probably the upgraded version of ipython does not support <span style="font-weight: bold;">%hist 3</span>. You can use <span style="font-weight: bold;">%hist -l 3</span> to get the desired output.

Thank you for your feedback.
20-03-15, 11:42 a.m. Trupti


Log-in to answer to this question.