test de %clear échec

parent 58a9338a
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
"cells": [ "cells": [
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"source": [ "source": [
"# Bienvenue à toi, aventurier !" "# Bienvenue à toi, aventurier !"
] ]
...@@ -10,7 +13,11 @@ ...@@ -10,7 +13,11 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false,
"scrolled": true
},
"outputs": [ "outputs": [
{ {
"data": { "data": {
...@@ -166,7 +173,10 @@ ...@@ -166,7 +173,10 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 2,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [], "outputs": [],
"source": [ "source": [
"## Utilisons le R" "## Utilisons le R"
...@@ -174,7 +184,10 @@ ...@@ -174,7 +184,10 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"source": [ "source": [
"Mais si, c'est possible avec la carte kiwi :)" "Mais si, c'est possible avec la carte kiwi :)"
] ]
...@@ -182,7 +195,10 @@ ...@@ -182,7 +195,10 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [], "outputs": [],
"source": [ "source": [
"%load_ext rpy2.ipython" "%load_ext rpy2.ipython"
...@@ -191,7 +207,10 @@ ...@@ -191,7 +207,10 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [ "outputs": [
{ {
"data": { "data": {
...@@ -209,7 +228,10 @@ ...@@ -209,7 +228,10 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 6,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [ "outputs": [
{ {
"ename": "NameError", "ename": "NameError",
...@@ -227,15 +249,74 @@ ...@@ -227,15 +249,74 @@
"cars" "cars"
] ]
}, },
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [],
"source": [
"x=1"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[H\u001b[2J"
]
}
],
"source": [
"%clear"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [
{
"data": {
"text/plain": [
"1"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"x"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"metadata": {}, "metadata": {
"hideCode": false,
"hidePrompt": false
},
"outputs": [], "outputs": [],
"source": [] "source": []
} }
], ],
"metadata": { "metadata": {
"hide_code_all_hidden": false,
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment