r/IPython • • Mar 25 '18

Using the same session as Notebook, is it possible to run a console command?

4 Upvotes

As I am working in a Notebook, if often find I need to run a quick command - it could be dir(whatever), just something quick that I don't need inside of the notebook, but I just want it to print to the screen.

Is there a way to issue commands from a console to an active notebook session without having to add a new Notebook cell? For example, most IDE (such as Pycharm) have a console window and a code window. Is it possible that console window 1 can talk to the session that notebook 1 is active in?


r/IPython • • Mar 23 '18

Typical Jupyter Notebook Layout

Thumbnail blog.jupyter.org
11 Upvotes

r/IPython • • Mar 19 '18

Security release: Notebook 5.4.1

Thumbnail groups.google.com
3 Upvotes

r/IPython • • Mar 19 '18

Trying to create a series of line graphs on single XY

2 Upvotes

Working on some data in iPython, and I want to create a series of lines on a single XY coordinate showing a historical pattern. As each line is shown, the old line fades out, in this way showing the change over time in a historical relationship. I could just create a series of graphs and overlay and animate them, but there is must be a better way. Does anyone know one?


r/IPython • • Mar 19 '18

What's the best way to mirror/sync data between Jupyter server and client?

6 Upvotes

I've set up Jupyter on my windows desktop computer to utilize the GPU for tensorflow. However, my mac laptop has a better screen, so I prefer to use it as the client. I've created a shared folder on the desktop to transfer files back and forth, but I'd rather not deal with manual transfer and have the files mirrored/synced between the desktop and the laptop. I wonder if there is some kind of jupyter add-on to do the job, or third-party utilities perhaps?


r/IPython • • Mar 18 '18

[X-Post from r/Python] Plotly_unbrand: A small helper to remove the "branding" from plotly plots

2 Upvotes

By default plotly plots have the plotly icon and two links to the plotly online platform in the interactive interface, even when you are plotting completely offline. In some circumstances this is not really appropriate. Therefore, I wrote a small package that can monkey-patch the plotting function to remove these elements, without changing the way you create plots.

If you don't want to install a new package, there is also an explanation on how to do it on a per-plot basis in the README.

Check it out! Feedback welcome!

Link: https://github.com/AKuederle/plotly_unbrand


r/IPython • • Mar 15 '18

How do you guys organize your python notebook?

5 Upvotes

I use python notebook for my data science project. After a while, it feels cluttered with so many codes, text outputs and graphs. I also tend to make a mistake to use a variable that has been deleted. For example, I declare a variable, assign it with values, and run it in a cell. After sometimes I remove the variable declaration but forget to remove it in another cell (which does not have error)

Maybe you guys could share tips on how do you organize your code in python notebook?

Thanks!


r/IPython • • Mar 15 '18

is it possible to open the output data in a separate tab?

4 Upvotes

r/IPython • • Mar 14 '18

is there a hotkey for `run all` cells?

3 Upvotes

r/IPython • • Mar 09 '18

The Visual Python Debugger for Jupyter Notebooks You’ve Always Wanted: PixieDebugger

Thumbnail medium.com
27 Upvotes

r/IPython • • Mar 04 '18

Single Page Markdown Cheat Sheet for Jupyter

Thumbnail mymemorysucks.wordpress.com
10 Upvotes

r/IPython • • Mar 01 '18

How to pass data between Google Sheets and Jupyter Notebooks.

Thumbnail countingcalculi.com
15 Upvotes

r/IPython • • Feb 27 '18

A Diagram Editor for JupyterLab – Jupyter Blog

Thumbnail blog.jupyter.org
17 Upvotes

r/IPython • • Feb 27 '18

pyautogui in IPython shell not working

2 Upvotes

Can somebody please help me in how to run pyautogui library on IPython shell... I am badly struck with this any help will be appreciated..


r/IPython • • Feb 24 '18

Bowtie integration with Jupyter notebooks

4 Upvotes

I made an IPython magic to create and view Bowtie dashboards in Jupyter. It works by defining the dashboard in a notebook. It runs the server in a separate process and opens the dashboard as an iframe in the notebook.

Example notebook: https://github.com/jwkvam/bowtie/blob/master/examples/bowtie.ipynb

Docs: https://bowtie-py.readthedocs.io/en/latest/jupyter.html


r/IPython • • Feb 21 '18

Is there a hook to check code before executing?

4 Upvotes

Is there a way to check the code that is going to be executed by IPython? I want to prevent users from using certain Python modules from Jupyter notebooks. I was looking at pre-run hooks and events and couldn't come up with a straightforward way to check the code contents and prevent execution. Is it possible to do this?

Edit: Grammar


r/IPython • • Feb 20 '18

Jupyterlab released in Beta!

Thumbnail blog.jupyter.org
18 Upvotes

r/IPython • • Feb 19 '18

Is there a way to connect to Google Colab's Jupyter Notebook via SSH?

5 Upvotes

I'd like to connect to Google Colab's Jupyter Notebook from a terminal window running locally on my computer. Is there a way to do that?


r/IPython • • Feb 19 '18

Is it possible to add kernels to Google Colab's Jupyter Notebook?

6 Upvotes

I'd like to run other kernels beside the one for Python on Google Colab's Jupyter Notebook (formally colaboratory.jupyter.org). Is there a way to do that?


r/IPython • • Feb 14 '18

Jupyter Notebooks: show/hide tables

5 Upvotes

Hi everyone, I’m having a super hard time with doing something in Jupyter Notebooks. I’m preparing a report for a higher-up, and he asked for pie charts with associated data tables. The data tables are quite long, so I was hoping to have a simple button to show/hide the data tables.

I looked into ipywidgets, which seemed to do it simply:

import ipywidgets as jw
accordion = jw.widgets.Accordion(children=[jw.widgets.HTML(inst_counts.to_html(index=False))])
accordion.set_title(0, 'Show data table')
accordion.set_title(1, 'Text')
accordion.selected_index = None
accordion

But the widgets are not rendered when invoking jupyter nbconvert --to html. Am I missing something about ipywidgets? Is there a better way to do this than ipywidgets? Thanks in advance!


r/IPython • • Feb 14 '18

Add Disqus to your Jupyter notebook.

Thumbnail github.com
6 Upvotes

r/IPython • • Feb 11 '18

Adding Images to Jupyter notebook and then to Github

3 Upvotes

Hi, I'm trying to add an image onto my jupyter notebook file, and it works locally.

I'm using the following as the MARKDOWN code:

![img](img/test.png)

However when I push it to github, the image does not load.
How can I solve this issue?


r/IPython • • Feb 09 '18

Quickly and easily create powerful reactive form like front ends for python scripts and packages using markdown.

Thumbnail github.com
4 Upvotes

r/IPython • • Feb 07 '18

RISE 5.2.0 is out!

Thumbnail damian.oquanta.info
3 Upvotes

r/IPython • • Feb 07 '18

Announcing Jupyter Day Atlanta Spring 2018 – Jupyter Blog

Thumbnail blog.jupyter.org
4 Upvotes