How to share your iPython (or iJulia code)

Basically

 

1) Download as Ipython file from the File Option

Screenshot 2014-05-06 22.02.54

 

2) Use notepad to open the file downloaded. Copy the text contents

Screenshot 2014-05-06 22.06.03

3) Create a new gist at by pasting the text from step 2 here

https://gist.github.com/ (assumes you have a github account)

Screenshot 2014-05-06 22.06.43

 

4) Paste the url of the Gist into http://nbviewer.ipython.org/ to get your iNotebook url for sharing

5) To update your notebook, simply copy and paste the new IPython code by editing the gist again

 

6)

(example here- http://nbviewer.ipython.org/gist/decisionstats/62c5387624a9ba9015a4)

 

Screenshot 2014-05-06 22.08.22

Author: Ajay Ohri

http://about.me/ajayohri

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: