Showing posts with the label ipython

[FIXED] run script from spyder console using relative path

Issue I want to run .py file from ipython console in spyder. Script also takes csv file as input. B…

[FIXED] pdb skipped one hidden frame issue

Issue Whenever I try to run the program in a ipython cell it gives me a weird error. test_pts = so…

[FIXED] PyCharm: how to do post mortem debugging in the ipython interactive console?

Issue I've just started using the nice PyCharm community edition IDE, and can't do a simple…

[FIXED] Step-by-step debugging with IPython

Issue From what I have read, there are two ways to debug code in Python: With a traditional debug…

[FIXED] ipython debugger: full traceback on interactive pdb?

Issue I recently switched from ipython0.10 to ipython0.11. In ipython0.11, I only see a small snip…

[FIXED] ipython post-mortem debugging: scope of outer function

Issue Consider the following code: def inner(a): if a == 75: raise RuntimeError() …

[FIXED] Is the python ipdb package available inside another package?

Issue I can't install the ipdb package because it's on a server over which I have no contro…

[FIXED] How can I assign to the ipython global namespace from within ipdb?

Issue I have a traceback in an IPython notebook that I'm debugging with the %debug magic. I…

[FIXED] ipdb show color code instead of color

Issue Use import ipdb; ipdb.set_trace() to insert breakpoint. Color is fine when first hit the bre…

[FIXED] Execute commands automatically when ipdb starts

Issue I usually debug a python script with the help of the ipdb debugger by putting the following …

[FIXED] Subsequent "list" commands in ipdb

Issue I just noticed an odd behavior when using l (i.e. the list command) in ipdb . I think I ha…

[FIXED] Tab completion in ipython for list elements

Issue Here is how tab completion is working for me: In [84]: a="string" In [85]: b = […

[FIXED] Make 'interact' use IPython console, rather than standard Python one?

Issue In pdb/ipdb debugging, the useful interact command gives me a fully featured interactive Pyt…

[FIXED] why help() command under ipdb gives an error

Issue In ipython I can issue following command and it gives me help: In [1]: help(["foo&qu…

[FIXED] iPython debugger not providing any insight

Issue Let's say I have the following function: def simple_func(): a = 4 b = 5 c =…

[FIXED] Itertools.product raises "Error in argument"

Issue I am a bit lost here: I can not use itertools.product in my code. This is in a break point…

[FIXED] How to install ipdb with Anaconda on Windows?

Issue I already have Python 2.7 installed but I wanted to try IPython so I installed IPython via r…

[FIXED] IPython help functionality in ipdb debugger

Issue Help is available in a standard IPython shell via the help command or by using the ? charac…

[FIXED] ipdb commands obscured by variables

Issue When i try to debug this sample script with ipdb: n = 1 next = 1 print('end') I c…

[FIXED] Can I run Jupyter notebook cells in commandline?

Issue I am deploying a Python package, and I would like to run a simple test to see if all cells in…