-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ NEW:
nb_merge_streams
configuration (#364)
- Loading branch information
1 parent
c54becd
commit 66d26b2
Showing
7 changed files
with
177 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"source": [ | ||
"import sys\n", | ||
"print('stdout1', file=sys.stdout)\n", | ||
"print('stdout2', file=sys.stdout)\n", | ||
"print('stderr1', file=sys.stderr)\n", | ||
"print('stderr2', file=sys.stderr)\n", | ||
"print('stdout3', file=sys.stdout)\n", | ||
"print('stderr3', file=sys.stderr)\n", | ||
"1" | ||
], | ||
"outputs": [ | ||
{ | ||
"output_type": "stream", | ||
"name": "stdout", | ||
"text": [ | ||
"stdout1\n", | ||
"stdout2\n" | ||
] | ||
}, | ||
{ | ||
"output_type": "stream", | ||
"name": "stderr", | ||
"text": [ | ||
"stderr1\n", | ||
"stderr2\n" | ||
] | ||
}, | ||
{ | ||
"output_type": "stream", | ||
"name": "stdout", | ||
"text": [ | ||
"stdout3\n" | ||
] | ||
}, | ||
{ | ||
"output_type": "stream", | ||
"name": "stderr", | ||
"text": [ | ||
"stderr3\n" | ||
] | ||
}, | ||
{ | ||
"output_type": "execute_result", | ||
"data": { | ||
"text/plain": [ | ||
"1" | ||
] | ||
}, | ||
"metadata": {}, | ||
"execution_count": 1 | ||
} | ||
], | ||
"metadata": {} | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.6.1" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<document source="merge_streams"> | ||
<CellNode cell_type="code" classes="cell"> | ||
<CellInputNode classes="cell_input"> | ||
<literal_block language="ipython3" linenos="False" xml:space="preserve"> | ||
import sys | ||
print('stdout1', file=sys.stdout) | ||
print('stdout2', file=sys.stdout) | ||
print('stderr1', file=sys.stderr) | ||
print('stderr2', file=sys.stderr) | ||
print('stdout3', file=sys.stdout) | ||
print('stderr3', file=sys.stderr) | ||
1 | ||
<CellOutputNode classes="cell_output"> | ||
<literal_block classes="output stream" language="myst-ansi" linenos="False" xml:space="preserve"> | ||
stdout1 | ||
stdout2 | ||
stdout3 | ||
<literal_block classes="output stderr" language="myst-ansi" linenos="False" xml:space="preserve"> | ||
stderr1 | ||
stderr2 | ||
stderr3 | ||
<literal_block classes="output text_plain" language="myst-ansi" linenos="False" xml:space="preserve"> | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters