Jupyter Notebook Datei funktioniert nicht

Neue Frage »

Auf diesen Beitrag antworten »
Haevelin Jupyter Notebook Datei funktioniert nicht

Hallo, ich habe eine Jupyter Notebookdatei entwickelt, welche heißt: U_4_new.ipynb. Der JASON Code wird aber nicht erkannt. Ich verstehe nicht warum nicht, weil nämlich die analoge Datei Untitled4.ipynb funktioniert. U_4_new.ipynb habe ich mit Java aus einer html Datei entwickelt. Ist vielleicht bei Schreiben mit Java ein Fehler aufgetreten?

Hier die zwei Dateien:
1) U_4_new

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!DOCTYPE html>\n",
"<html>\n",
"<body>\n",
"\n",
"\n",
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"\n",
"</body>\n",
"</html>\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.9"
}
},
"nbformat": 4,
"nbformat_minor": 0
}



2) Untitled4

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<!DOCTYPE html>\n",
"<html>\n",
"<body>\n",
"\n",
"\n",
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"\n",
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"\n",
"</body>\n",
"</html>\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"\n",
"<h1>This is heading 1</h1>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>\n",
"<p>This is a paragraph.</p>"
]
}
],
"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.9"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
 
 
Neue Frage »
Antworten »


Verwandte Themen

Die Beliebtesten »
Die Größten »
Die Neuesten »