##// END OF EJS Templates
updated Basic Output notebook with new %%capture
Paul Ivanov -
Show More
@@ -89,18 +89,29 b' class CapturedIO(object):'
89
89
90 @property
90 @property
91 def stdout(self):
91 def stdout(self):
92 "Captured standard output"
92 if not self._stdout:
93 if not self._stdout:
93 return ''
94 return ''
94 return self._stdout.getvalue()
95 return self._stdout.getvalue()
95
96
96 @property
97 @property
97 def stderr(self):
98 def stderr(self):
99 "Captured standard error"
98 if not self._stderr:
100 if not self._stderr:
99 return ''
101 return ''
100 return self._stderr.getvalue()
102 return self._stderr.getvalue()
101
103
102 @property
104 @property
103 def outputs(self):
105 def outputs(self):
106 """A list of the captured rich display outputs, if any.
107
108 If you have a CapturedIO object `c`, these can be displayed in IPython
109 using:
110
111 from IPython.display import display
112 for o in c.outputs:
113 display(o)
114 """
104 return [ RichOutput(s, d, md) for s, d, md in self._outputs ]
115 return [ RichOutput(s, d, md) for s, d, md in self._outputs ]
105
116
106 def show(self):
117 def show(self):
@@ -866,7 +866,7 b''
866 "cell_type": "markdown",
866 "cell_type": "markdown",
867 "metadata": {},
867 "metadata": {},
868 "source": [
868 "source": [
869 "IPython has a cell magic, `%%capture`, which captures the stdout/stderr of a cell. With this magic you can discard these streams or store them in a variable."
869 "IPython has a [cell magic](Cell%20Magics.ipynb), `%%capture`, which captures the stdout/stderr of a cell. With this magic you can discard these streams or store them in a variable."
870 ]
870 ]
871 },
871 },
872 {
872 {
@@ -935,7 +935,7 b''
935 "output_type": "pyout",
935 "output_type": "pyout",
936 "prompt_number": 12,
936 "prompt_number": 12,
937 "text": [
937 "text": [
938 "<IPython.utils.io.CapturedIO at 0x103cf9190>"
938 "<IPython.utils.capture.CapturedIO at 0x2b9f710>"
939 ]
939 ]
940 }
940 }
941 ],
941 ],
@@ -1018,7 +1018,7 b''
1018 "cell_type": "markdown",
1018 "cell_type": "markdown",
1019 "metadata": {},
1019 "metadata": {},
1020 "source": [
1020 "source": [
1021 "`%%capture` only captures stdout/stderr, not other output types, so you can still do plots and use IPython's display system inside `%%capture`"
1021 "`%%capture` grabs all output types, not just stdout/stderr, so you can do plots and use IPython's display system inside `%%capture`"
1022 ]
1022 ]
1023 },
1023 },
1024 {
1024 {
@@ -1050,15 +1050,7 b''
1050 ],
1050 ],
1051 "language": "python",
1051 "language": "python",
1052 "metadata": {},
1052 "metadata": {},
1053 "outputs": [
1053 "outputs": [],
1054 {
1055 "output_type": "display_data",
1056 "png": "iVBORw0KGgoAAAANSUhEUgAAAXoAAAD9CAYAAACyYrxEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xt8z3X/x/HHnC+RzBJlTSHmMOZc2VpyKjmEXyxXzrXI\ncQ6l9HMo6cpVWVwOubhSi6IiVJeIrzHZRi45/oorF66sbGoUifn+/niHHMZs3+/en+/3+7zfbrs5\nfbbv8/YtL++93qcgt9vtRkRE/FYh2wFERMS7VOhFRPycCr2IiJ9ToRcR8XMq9CIifk6FXkTEz+Wr\n0Pfp04ebbrqJOnXq5PjM6NGjuf3222nQoAG7d+/Oz8uJiEge5KvQ9+7dm3/+8585/nlqairr1q1j\n06ZNjBgxghEjRuTn5UREJA/yVeijoqIoW7Zsjn+ekpJCly5dCA4OJjY2ll27duXn5UREJA+82qNP\nTU2lZs2a53594403snfvXm++pIiIXKSIN7+42+3m4hMWgoKCLvtsTr8vIiJXdrWTbLw6om/SpAk7\nd+489+vDhw9z++235/j82X8YAv1j7NixXvm6x4+7mT/fTfv2bkqXdhMd7ebFF90kJZk/y+/XP3LE\nzaefunn6aTcREW5CQtz07Olm5Uo3p087673wxQ+9F3ovLveRG14v9B988AGZmZnMnz+f8PBwb76c\n5GDrVoiLg1tugTffhC5d4NtvYe1aGD0aoqLgT3/K/+uULQtt2sCkSeY1N2+GevVg1CioXBmefRYO\nHsz/64jItclX6yY2Npa1a9eSkZFBaGgo48eP59SpUwDExcXRuHFjmjVrRsOGDQkODiYxMdEjoeXq\n3G5YsQJeeQV27YIBA+Crr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ut++D1UKf0zp7kbP27NnDjh07aHwt2wD9zJkzZ6hbty433XQTAwcOJDQ01HYkK4YNG8bkyZMp\nVEhHdIFZjt68eXM6dux41e9u9I6JYx07doyuXbvy2muvcd1119mOY02hQoXYunUre/bsYfr06WzZ\nssV2pAK3fPlyypcvT2RkpEbzv0tOTmbr1q1MmjSJ+Pj4y+55OstqoW/UqBG7d+8+9+sdO3bQtGlT\ni4nEKU6dOkXnzp159NFH6dChg+04jlC5cmUeeOCBgGxvbtiwgaVLl3LbbbcRGxvL6tWr6dGjh+1Y\nVlWsWBGA8PBw2rdvf8XJaauFXuvs5XLcbjd9+/aldu3aDB061HYcqzIyMvjpp58AyMzM5LPPPgvI\nf/hefPFFDhw4wLfffsu7775L8+bNeeutt2zHsub48eMcO3YMgMOHD7NixYocN6OCl8+6yY2z6+xP\nnTrF4MGDA3LFDUBsbCxr164lMzOT0NBQJkyYQO/evW3HsiI5OZnExEQiIiKIjIwEYNKkSVf8H9lf\nHTp0iJ6ecMR7AAAAWElEQVQ9e5KdnU2FChUYMWLEuZFcIAv041K+//57HnroIQDKlSvH8OHDrzh3\nY315pYiIeJcmY0VE/JwKvYiIn1OhFxHxcyr0IiJ+ToVeRMTPqdCLiPi5/wfD5TYrE44OIgAAAABJ\nRU5ErkJggg==\n",
1057 "text": [
1058 "<matplotlib.figure.Figure at 0x108356ed0>"
1059 ]
1060 }
1061 ],
1062 "prompt_number": 17
1054 "prompt_number": 17
1063 },
1055 },
1064 {
1056 {
@@ -1079,6 +1071,14 b''
1079 "step 3: display info about y\n",
1071 "step 3: display info about y\n",
1080 "okay, I'm done now\n"
1072 "okay, I'm done now\n"
1081 ]
1073 ]
1074 },
1075 {
1076 "metadata": {},
1077 "output_type": "display_data",
1078 "png": "iVBORw0KGgoAAAANSUhEUgAAAbIAAAELCAYAAAC8tgOhAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xt8z/X///HbzEoOzSHku60o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UJmZiYnTpwA4NSpU3z7\n7bfUqlUr1+utFjKtMyuYDh06cPfdd7Njxw7CwsKYOHGi7UiOsHr1aqZMmcLy5cuJjIwkMjKSxMRE\n27G83oEDB7jvvvuoW7cu0dHRtG7dmiZNmtiO5Ti6lZJ3hw4domHDhhf+zrVq1YqmTZvmer31dWQi\nIiLu0FQaERFxNBUyERFxNBUyERFxNBUyERFxNBUyERFxNBUyERFxtP8HVSXVk8IxdTkAAAAASUVO\nRK5CYII=\n",
1079 "text": [
1080 "<matplotlib.figure.Figure at 0x3817cd0>"
1081 ]
1082 }
1082 }
1083 ],
1083 ],
1084 "prompt_number": 18
1084 "prompt_number": 18
@@ -1087,7 +1087,7 b''
1087 "cell_type": "markdown",
1087 "cell_type": "markdown",
1088 "metadata": {},
1088 "metadata": {},
1089 "source": [
1089 "source": [
1090 "And you can selectively disable capturing stdout or stderr by passing `--no-stdout/err`."
1090 "And you can selectively disable capturing stdout, stderr or rich display, by passing `--no-stdout`, `--no-stderr` and `--no-display`"
1091 ]
1091 ]
1092 },
1092 },
1093 {
1093 {
@@ -1105,14 +1105,7 b''
1105 "output_type": "stream",
1105 "output_type": "stream",
1106 "stream": "stderr",
1106 "stream": "stderr",
1107 "text": [
1107 "text": [
1108 "hello, stderr"
1108 "hello, stderr\n"
1109 ]
1110 },
1111 {
1112 "output_type": "stream",
1113 "stream": "stderr",
1114 "text": [
1115 "\n"
1116 ]
1109 ]
1117 }
1110 }
1118 ],
1111 ],
@@ -1128,6 +1121,7 b''
1128 "metadata": {},
1121 "metadata": {},
1129 "outputs": [
1122 "outputs": [
1130 {
1123 {
1124 "metadata": {},
1131 "output_type": "pyout",
1125 "output_type": "pyout",
1132 "prompt_number": 20,
1126 "prompt_number": 20,
1133 "text": [
1127 "text": [
@@ -1147,6 +1141,7 b''
1147 "metadata": {},
1141 "metadata": {},
1148 "outputs": [
1142 "outputs": [
1149 {
1143 {
1144 "metadata": {},
1150 "output_type": "pyout",
1145 "output_type": "pyout",
1151 "prompt_number": 21,
1146 "prompt_number": 21,
1152 "text": [
1147 "text": [
@@ -1155,6 +1150,26 b''
1155 }
1150 }
1156 ],
1151 ],
1157 "prompt_number": 21
1152 "prompt_number": 21
1153 },
1154 {
1155 "cell_type": "code",
1156 "collapsed": false,
1157 "input": [
1158 "cap.outputs"
1159 ],
1160 "language": "python",
1161 "metadata": {},
1162 "outputs": [
1163 {
1164 "metadata": {},
1165 "output_type": "pyout",
1166 "prompt_number": 22,
1167 "text": [
1168 "[]"
1169 ]
1170 }
1171 ],
1172 "prompt_number": 22
1158 }
1173 }
1159 ],
1174 ],
1160 "metadata": {}
1175 "metadata": {}
General Comments 0
You need to be logged in to leave comments. Login now