Commit Graph

378 Commits

Author SHA1 Message Date
Dan Buch
ca11fa5f32 replacing magic numbers with consts, opting for list-based rather than string-based stuff in most places 2009-11-26 08:44:05 -05:00
Dan Buch
8cf3df0e3e s/cypher/cipher/g ... (sigh) I must have been sleepy :P 2009-11-26 08:42:57 -05:00
Dan Buch
40d222c164 returning a list from padfill to cut down on all the str.join ops 2009-11-26 08:30:33 -05:00
Dan Buch
998bb596ef starting to implement a pad filler + tests 2009-11-25 23:12:55 -05:00
Dan Buch
1b94d6a463 adding __name__ == "__main__" magic to run test suite with just unittest 2009-11-25 20:54:37 -05:00
Dan Buch
5023469466 adding test to make sure every second and third line on a blank pad is empty 2009-11-25 20:53:04 -05:00
Dan Buch
dca18ca022 implemented the creation of random one-time pads of specified length, defaulting to width of 72 2009-11-25 20:22:41 -05:00
Dan Buch
a2ef4ba0b1 first failing version :) 2009-11-25 17:10:32 -05:00
Dan Buch
fc7f35452a init 2009-11-25 16:52:28 -05:00
Dan Buch
256a92a41d not quite fully functional python version of "with_chgat" 2009-11-23 08:40:07 -05:00
Dan Buch
996ade6414 iterating over each char in the file in a more pythonic way, though still not happy with retaining all of the branches from the C version 2009-11-22 12:22:34 -05:00
Dan Buch
2cb096e27e busted first stab at python version of simple_attr example 2009-11-21 11:35:38 -05:00
Dan Buch
e396c88fd1 a less-mangled version of the simple_attr demo 2009-11-21 11:19:08 -05:00
Dan Buch
92c130fcd5 Revert "mangling the simple attr example (8.)"
This reverts commit e8f71e4fd8.
2009-11-21 11:15:54 -05:00
Dan Buch
e8f71e4fd8 mangling the simple attr example (8.) 2009-11-21 11:15:39 -05:00
Dan Buch
579ad3c15e finished python version of scanw_example (7.4) 2009-11-21 11:04:40 -05:00
Dan Buch
791b8d227c working through C version of scanw example (7.4) 2009-11-21 11:00:10 -05:00
Dan Buch
b13831dc92 worked through the printw_example exercise, added python version 2009-11-19 20:29:11 -05:00
Dan Buch
a66477b05f adding python version of init_func_example 2009-11-18 20:33:10 -05:00
Dan Buch
0e6152a741 added python version of hello_world 2009-11-18 20:22:50 -05:00
Dan Buch
da3ee678a8 up through example 4.7 2009-11-18 19:57:50 -05:00
Dan Buch
b45b438a4f working through Hello World 2009-11-18 19:41:30 -05:00
Dan Buch
b1f1195c3d doing some find+sed cleanup 2009-11-18 19:38:43 -05:00
Dan Buch
c77722c60f Revert "doing some find+sed cleanup"
This reverts commit f4c7e129df.
2009-11-18 19:37:27 -05:00
Dan Buch
f4c7e129df doing some find+sed cleanup 2009-11-18 19:36:45 -05:00
Dan Buch
0252c2ff4c ignoring built executables 2009-11-18 19:20:21 -05:00
Dan Buch
5860982824 pulling everything up a level 2009-11-18 19:06:19 -05:00
Dan Buch
8bbc2c1ea5 adding copy of ncurses programs 2009-11-18 19:01:16 -05:00