Whither python24.dll? {WinCvs 2.0 and Python}

2005-04-12 Thread Warren Postma
It seems that WinCvs needs a python??.dll runtime but that when I install Python2.4 it doesn't include this dll. Python 2.3 does. What's the recommendation here? Warren -- http://mail.python.org/mailman/listinfo/python-list

Re: cross platform printing

2005-04-07 Thread Warren Postma
David Isaac wrote: OK, I'll assume silence means "no", so new question: What is the current best practice for cross platform printing of PostScript files from Python? Well since printing postscript files on most Unix systems (probably including Mac OSX although I don't really know this for sure) i

Re: Testing threading

2005-04-07 Thread Warren Postma
George Sakkis wrote: How one goes on testing a threaded program, apart from doing a few successful runs and crossing his fingers that it at least follows the 'correct 99.% of the time' rule ? If you haven't been in there and stepped through all the code, looked for a reasonable set of test ca

Re: boring the reader to death (wasRe: Lambda: the Ultimate DesignFlaw

2005-04-05 Thread Warren Postma
Donn Cave wrote: That's an odd thing to say. Poetry is verbose, florid? Python is Dutch. Ha. I'm vaguely dutch, whatever that means. I would say if there is a sister word for "Programming" in the english language, it isn't Poetry and it surely isn't Prose. It's Dialectic. I appreciate the idea of

Re: Python 2.4 removes None data type?

2005-03-07 Thread Warren Postma
Michael Hoffman wrote: The fact that True and False are not constants? Yowza. a = True b = False False = a True = b if (1==2)==True: print "Doom" -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.4 removes None data type?

2005-03-07 Thread Warren Postma
Michael Hoffman wrote: The fact that True and False are not constants? Yowza. a = True b = False False = a True = b if (1==2)==True: print "Doom" -- http://mail.python.org/mailman/listinfo/python-list

Re: intigrate the PyGame module with my Python

2005-03-07 Thread Warren Postma
1. Downloaded the windows binary for python 1.5.2 from python.org. Pygame uses Python 1.5.2 still!? :-) Oi. Warren -- http://mail.python.org/mailman/listinfo/python-list

Re: shuffle the lines of a large file

2005-03-07 Thread Warren Postma
Joerg Schuster wrote: Unfortunately, none of the machines that I may use has 80G RAM. So, using a dictionary will not help. Any ideas? Why don't you index the file? I would store the byte-offsets of the beginning of each line into an index file. Then you can generate a random number from 1 to Wh

Re: Python 2.4 removes None data type?

2005-03-04 Thread Warren Postma
[EMAIL PROTECTED] wrote: I just read in the 'What's New in Python 2.4' document that the None data type was converted to a constant: http://python.org/doc/2.4/whatsnew/node15.html Implication: A long standing wart in Python now gone. Its time to gloat. Are there any really evil glitches LEFT in P

Re: Faster way to do this...

2005-03-01 Thread Warren Postma
Will McGugan wrote: Isn't that equivalent to simply.. nums= range(100) I remember the day I first realized that 900 lines of some C++ program I was working on could be expressed in three lines of python. Ahh. Rebirth. Then there was the phase of the python-newbie so enamored of map and lambda.