Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread lysdexia
I'm having great fun playing with Markov chains. I am making a dictionary of all the words in a given string, getting a count of how many appearances word1 makes in the string, getting a list of all the word2s that follow each appearance of word1 and a count of how many times word2 appears in the

Terminal Emulation Modules?

2006-04-11 Thread lysdexia
I am attempting to screen scrape SuperDOS, an extremely closed system that uses wyse 60 terminals to communicate with a dos machine. I have not been able to communicate properly with superdos until trying the handy miniterm.py example from the pyserial package in conjunction with Markus Gutschke's