projects
/
cipher-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidying
[cipher-tools.git]
/
2016
/
2016-challenge8.ipynb
diff --git
a/2016/2016-challenge8.ipynb
b/2016/2016-challenge8.ipynb
index 7a96e70e300a4e743d926d83ffdfce757f327a60..d990f8cc28dc3a755d32b6ee79447ce2295d8c2d 100644
(file)
--- a/
2016/2016-challenge8.ipynb
+++ b/
2016/2016-challenge8.ipynb
@@
-3,9
+3,7
@@
{
"cell_type": "code",
"execution_count": 1,
{
"cell_type": "code",
"execution_count": 1,
- "metadata": {
- "collapsed": true
- },
+ "metadata": {},
"outputs": [],
"source": [
"import os,sys,inspect\n",
"outputs": [],
"source": [
"import os,sys,inspect\n",
@@
-16,7
+14,9
@@
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"\n",
- "from cipherbreak import *\n",
+ "from cipher.hill import *\n",
+ "from support.utilities import *\n",
+ "from support.text_prettify import *\n",
"\n",
"c8a = open('8a.ciphertext').read()\n",
"c8b = open('8b.ciphertext').read()\n",
"\n",
"c8a = open('8a.ciphertext').read()\n",
"c8b = open('8b.ciphertext').read()\n",
@@
-27,10
+27,8
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count": 9,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 2,
+ "metadata": {},
"outputs": [
{
"data": {
"outputs": [
{
"data": {
@@
-39,7
+37,7
@@
" [11, 11]]), -5760.41300554484)"
]
},
" [11, 11]]), -5760.41300554484)"
]
},
- "execution_count":
9
,
+ "execution_count":
2
,
"metadata": {},
"output_type": "execute_result"
}
"metadata": {},
"output_type": "execute_result"
}
@@
-53,7
+51,6
@@
"cell_type": "code",
"execution_count": 3,
"metadata": {
"cell_type": "code",
"execution_count": 3,
"metadata": {
- "collapsed": false,
"scrolled": true
},
"outputs": [
"scrolled": true
},
"outputs": [
@@
-99,10
+96,8
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count": 17,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 4,
+ "metadata": {},
"outputs": [
{
"name": "stdout",
"outputs": [
{
"name": "stdout",
@@
-118,10
+113,8
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count": 14,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 5,
+ "metadata": {},
"outputs": [
{
"name": "stdout",
"outputs": [
{
"name": "stdout",
@@
-137,10
+130,8
@@
},
{
"cell_type": "code",
},
{
"cell_type": "code",
- "execution_count": 19,
- "metadata": {
- "collapsed": false
- },
+ "execution_count": 6,
+ "metadata": {},
"outputs": [
{
"data": {
"outputs": [
{
"data": {
@@
-148,7
+139,7
@@
"[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]"
]
},
"[('0', 15368), ('1', 11257), (' ', 6508), ('2', 5920), ('\\n', 1)]"
]
},
- "execution_count":
19
,
+ "execution_count":
6
,
"metadata": {},
"output_type": "execute_result"
}
"metadata": {},
"output_type": "execute_result"
}
@@
-160,9
+151,7
@@
{
"cell_type": "code",
"execution_count": null,
{
"cell_type": "code",
"execution_count": null,
- "metadata": {
- "collapsed": true
- },
+ "metadata": {},
"outputs": [],
"source": []
}
"outputs": [],
"source": []
}
@@
-183,9
+172,9
@@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.
5.2
"
+ "version": "3.
6.3
"
}
},
"nbformat": 4,
}
},
"nbformat": 4,
- "nbformat_minor":
0
+ "nbformat_minor":
1
}
}