Skip to content

Instantly share code, notes, and snippets.

@andreacassioli
Created August 19, 2016 08:18
Show Gist options
  • Save andreacassioli/7d7283a27b5f6d6bbe735532a6f41e4f to your computer and use it in GitHub Desktop.
Save andreacassioli/7d7283a27b5f6d6bbe735532a6f41e4f to your computer and use it in GitHub Desktop.
test
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Stored 'foo' (str)\n"
]
}
],
"source": [
"foo = \"A dummy string\"\n",
"%store foo "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"%store -r foo\n",
"print(foo)\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment