Re: Raw_input with readline in a daemon thread makes terminal text disappear

2013-08-21 Thread David M. Welch
Hi all, This is an old thread, but I'm having the same behavior in my terminal when I run some code but kill the process in the terminal (Ctrl-C). The code has two prime suspects (from a simple google search): 1. Creates ssh port forward via the subprocess module (http://unix.stackexchange.com/q

strange file.write() behavior on windows: $ConvertToNonresident, $ReplaceAttribute2

2005-11-16 Thread welch
while taking some rough disk performance measures on windows machines, and snooping with FileMon, i've noticed some odd behavior here's the little nul-writer i'm running: def writeTest(nBlocks, blockSize): """write nBlocks*blockSize nuls to a file""" f = open("writeTest.out", "wb") nulBloc

Expression templates for arithmetic operations in python

2005-10-17 Thread David Welch
Hi, I am new to python so I thought I would write a quick and simple vector/matrix multiplication class in c++ and use it in python. Is it possible to overload the operators in python such a way that a tree of calculations is built which I can then pass to an evaluator written in c++ to calcul