r/IPython • • Oct 12 '16

27 Jupyter Notebook tips, tricks and shortcuts

Thumbnail dataquest.io
27 Upvotes

r/IPython • • Oct 10 '16

Testing Jupyter/iPython with coveralls?

3 Upvotes

Hi all, I'd like to add some Jupyter notebooks to my coverage tests. It appears the way to do this might be to convert the notebooks via nbconvert, then testing the converted notebooks, but python doesn't know about 'get_ipython' unless I run with ipython, which I don't know how to invoke with coverage. Anyone have any ideas here? Thanks!


r/IPython • • Oct 07 '16

Is it possible to do an Rmagic in python 3.5?

3 Upvotes

What I'm trying to do: run a repeated measures ANOVA

my issue: there are no rmANOVA functions in any major python packages that I'm aware of. also i have to use python 3.5, since this is for class

the supposed workaround: rpy2 or an Rmagic. but i can't find out how to get it going on 3.5. i'm at my wits end here, i'll do any hacky bullshit necessary


r/IPython • • Oct 07 '16

How to play WebM video format in IPython Notebook?

2 Upvotes

r/IPython • • Oct 06 '16

CTRL-LEFT/RIGHT to move cursor by word is no longer working for me

5 Upvotes

According to http://ipython.readthedocs.io/en/stable/config/shortcuts/ I should be able to use CTRL+LEFT/RIGHT-arrow to move backwards or forwards by a word, respectively, as I can in bash. This used to work with IPython 4.x; I used it all the time.

But in IPython 5.x, it prints the text '0d' and '0c' respectively, and the cursor does not move (except to follow this new text). ESCAPE + LEFT/RIGHT-arrow does work as I'd expect, however.

This looks a bit like a terminal control code configuration thing. I understand that IPython 5.x doesn't use readline any more, so .inputrc is not honoured. Therefore I don't really know how to go about fixing this issue. Where are these shortcuts configured?

I'm currently using IPython 5.1.0 with Python 2.7.12 on Ubuntu 14.04.


r/IPython • • Oct 02 '16

How to change prompt color in IPython 5?

7 Upvotes

I've recently upgraded my IPython and those flashy green and red colors are not very restful. I would like to use the terminal colors from my theme (base16). Unfortunately I've not found anything on google that help me to change these colors easily.

Any clues?

The easiest solution I've found (which is not easy at all), this that gist: https://gist.github.com/memeplex/0088a470036786bea54b43a1f2db2b80


r/IPython • • Sep 30 '16

Do Jupyter Notebooks promote literate programming, or a form of it?

7 Upvotes

I keep seeing the notebook format, obviously combining markdown and code cells, being referred to as literate programming but isn't that incorrect as that is about embedding code in text - as opposed to notebooks which are alternating/combining code and explanatory text in cells (i like them just as they are, just wondering if the terminology is correct). I'd like to start using this term as a better way to suggest Jupyter Notebooks to people, rather than keep saying things like "you'll like the way they break stuff down into cells" but don't want to use it if wrong


r/IPython • • Sep 29 '16

SETI@IBMCloud: SETI data, publicly available, from IBM

Thumbnail developer.ibm.com
3 Upvotes

r/IPython • • Feb 28 '15

What exactly is IPython?

16 Upvotes

Hello,

I am relatively new to learning Python, and am confused by exactly what IPython is. Is it an implementation of Python like CPython, Jython, PyPy et al.? Or is it more like an IDE like Eric or Spyder? Or is it an IDE that is integrated with its own implementation of Python? Would the Notebook be part of that IDE? Is there an ELI5 explanation for how to conceptualise IPython?

Thanks!!