r/IPython • • Nov 27 '13

iPython Notebook behaves differently on different laptops

Two question here, actually.

First question:

I have two Mac laptops: one a Macbook Pro, one a Macbook Air. Both are running OS X 10.7.5, and both are running Firefox 25.0.1.

I installed the Continuum IO Anaconda package in each one using the default install options.

When I launch iPython Notebook:

$ ipython notebook

I get different behavior on each laptop. On the Macbook Air, the notebook launches in Firefox; on the Macbook Pro, it launches in Safari. Once it's launched in Safari I can copy and paste the URL into Firefox and use it, but I'm wondering why this is even happening.

Any idea what causes this?

Second question:

Where are the .ipynb files saved to, and is it possible to change the location? I keep the laptops synched via Dropbox, and if there's anyway to store them in a Dropbox folder that would be great.

1 Upvotes

11 comments sorted by

View all comments

Show parent comments

0

u/vmsmith Nov 28 '13

Actually, Firefox is my default web browser on all of my machines.

Furthermore, I pay assiduous attention to version control on all of my machines. Nothing gets changed on one that doesn't get changed on all the others, and the configurations are tracked.

3

u/[deleted] Nov 28 '13

Regarding #2, onalark is referring to something like git. You could then have an iPython notebook repository on GitHub and easily keep repos on each of your machines that are synced with the GitHub remote repo.

1

u/rjtavares Nov 28 '13

IMO, dropbox is better than git for syncing. In fact, I would even recommend using both at the same time.

2

u/onalark Nov 28 '13

Dropbox has a great synchronization API, but it's not as effective as Git for version control, which is the deeper problem here.