Skip to content
Advertisement

Tag: ipython

not able to redirect the output to a file in ipython ide

I am not able to redirect the output of dir(modulename) to a file in ipython ide. Please let me know how to do that. It works for the same for ls and other linux commands. Answer You are mixing two worlds here. One is the Python world in which you can call Python functions (like dir()); in this world redirection

Interractive plots Ipython 5.0.0 in the terminal

I run Ipthon in the terminal, in linux (not a jupyter notebook). In Ipython 2.4.1, the following commands opens a pop up interactive Tk plot window: In Ipython 5.0.0, when I use the same code: nothing appears. How do I get my poping up interractive plot in Iptyhon 5.0.0? Answer From your output with ipython using TkAgg i.e. tk (python-tk)

Advertisement