projects
/
cipher-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create a treemap of letter frequencies
[cipher-tools.git]
/
2015
/
2015-challenge2.ipynb
diff --git
a/2015/2015-challenge2.ipynb
b/2015/2015-challenge2.ipynb
index 7438ce249e24f5634900049bfaa16328804a6d22..24130725030b2053064b80a7b8fe19c202f58e87 100644
(file)
--- a/
2015/2015-challenge2.ipynb
+++ b/
2015/2015-challenge2.ipynb
@@
-3,9
+3,7
@@
{
"cell_type": "code",
"execution_count": 1,
{
"cell_type": "code",
"execution_count": 1,
- "metadata": {
- "collapsed": false
- },
+ "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.caesar import *\n",
+ "from support.utilities import *\n",
+ "from support.text_prettify import *\n",
"\n",
"c2a = open('2a.ciphertext').read()\n",
"c2b = open('2b.ciphertext').read()"
"\n",
"c2a = open('2a.ciphertext').read()\n",
"c2b = open('2b.ciphertext').read()"
@@
-25,9
+25,7
@@
{
"cell_type": "code",
"execution_count": 2,
{
"cell_type": "code",
"execution_count": 2,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [
{
"data": {
"outputs": [
{
"data": {
@@
-48,9
+46,7
@@
{
"cell_type": "code",
"execution_count": 3,
{
"cell_type": "code",
"execution_count": 3,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [
{
"name": "stdout",
"outputs": [
{
"name": "stdout",
@@
-70,9
+66,7
@@
{
"cell_type": "code",
"execution_count": 4,
{
"cell_type": "code",
"execution_count": 4,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [
{
"data": {
"outputs": [
{
"data": {
@@
-93,9
+87,7
@@
{
"cell_type": "code",
"execution_count": 5,
{
"cell_type": "code",
"execution_count": 5,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [
{
"name": "stdout",
"outputs": [
{
"name": "stdout",
@@
-112,9
+104,7
@@
{
"cell_type": "code",
"execution_count": null,
{
"cell_type": "code",
"execution_count": null,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": []
}
"outputs": [],
"source": []
}
@@
-135,9
+125,9
@@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.
4
.3"
+ "version": "3.
6
.3"
}
},
"nbformat": 4,
}
},
"nbformat": 4,
- "nbformat_minor":
0
+ "nbformat_minor":
1
}
}