r/IPython • • Oct 17 '16

Is it possible to launch and execute the Ipython notebook file from the icon?

2 Upvotes

Hi, I was wondering if there is any way I can execute and run all cell in my Ipython notebook file through clicking icon. This Ipython notebook file displays the plot and graph of the data.

Currently, I have to go to command prompt and call "ipython notebook" then navigate to the interested file in the browser and open it. After that, I press run all. So is there any way I can do all these steps by simply just double clicking an icon on the desktop?

Thanks


r/IPython • • Oct 13 '16

Broke a module?

2 Upvotes

Hey everyone, idiot here. I was screwing around with a jupyter notebook in my Azure Machine Learning Studio Workspace. I was trying to use the blob storage service but I found that the version of the azure-storage module was outdated. I figured I could do all of this on my local workspace, but I wanted to see what would happen if I tried to reinstall the module using pip. Well, it uninstalled relatively easily, but won't reinstall due to it's missing many dependent modules. Is there any way to reset the modules or workspace back to its original state? Reloading the kernel and opening a new notebook do not work. Let me know if anything I just said was unclear or needs clarification.


r/IPython • • Oct 12 '16

27 Jupyter Notebook tips, tricks and shortcuts

Thumbnail dataquest.io
29 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?

6 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?

6 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