Clear Output.ipynb
38 lines
| 582 B
| text/plain
|
TextLexer
Julia Evans
|
r17082 | { | |
MinRK
|
r18580 | "cells": [ | |
Julia Evans
|
r17082 | { | |
MinRK
|
r18580 | "cell_type": "code", | |
MinRK
|
r18587 | "execution_count": 1, | |
MinRK
|
r18580 | "metadata": { | |
"collapsed": false | |||
}, | |||
"outputs": [], | |||
"source": [ | |||
"from IPython.display import clear_output" | |||
] | |||
}, | |||
{ | |||
"cell_type": "code", | |||
MinRK
|
r18587 | "execution_count": 2, | |
MinRK
|
r18580 | "metadata": { | |
"collapsed": false | |||
}, | |||
"outputs": [ | |||
Julia Evans
|
r17082 | { | |
MinRK
|
r18580 | "name": "stdout", | |
"output_type": "stream", | |||
MinRK
|
r18589 | "text": [ | |
"9\n" | |||
] | |||
Julia Evans
|
r17082 | } | |
], | |||
MinRK
|
r18580 | "source": [ | |
"for i in range(10):\n", | |||
" clear_output()\n", | |||
" print(i)" | |||
] | |||
Julia Evans
|
r17082 | } | |
MinRK
|
r18580 | ], | |
"metadata": {}, | |||
"nbformat": 4, | |||
"nbformat_minor": 0 | |||
Julia Evans
|
r17082 | } |