Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
glossary, documentation, notebook, import
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 18, 2015
1 parent 1670d93 commit e18ccda
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 540 deletions.
33 changes: 26 additions & 7 deletions _doc/notebooks/expose/expose_vigenere.ipynb
Expand Up @@ -203,28 +203,29 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 2,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/plain": [
"218878"
"224060"
]
},
"execution_count": 6,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import urllib\n",
"import urllib.request\n",
"u = urllib.request.urlopen(\"http://www.gutenberg.org/cache/epub/6838/pg6838.txt\")\n",
"text = u.read()\n",
"u.close()\n",
"text = text.decode(\"utf8\")"
"text = text.decode(\"utf8\")\n",
"len(text)"
]
},
{
Expand Down Expand Up @@ -307,7 +308,25 @@
"source": []
}
],
"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.4.3"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit e18ccda

Please sign in to comment.