data = 'string or data-table to pass' %store data #to read %store -r data del data
Here is what the above code is Doing:
1. The %store command is used to pass variables between two different notebooks.
2. The -d option deletes the variable from the IPython notebook.
3. The -r option lets you retrieve the variable from the IPython notebook.