PyX on Windows

2006-05-13 Thread Tom Longridge
Hi, I'm trying to use PyX to draw some diagrams with text in. I want to change the font, so need to change the text mode from TeX to LaTeX. However I get an error when I do so: pyx.text.TexResultError: unhandled TeX response (might be an error) The expression passed to TeX was: \documentclass{a

Re: Strings and Lists

2005-04-19 Thread Tom Longridge
Thank you all very much for your responses. It's especially reassuring to hear about other Python GA's as I have had some scepticism about Python's speed (or lack of it) being too big a problem for such an application. With regard to using numeric, arrays or integer lists -- I didn't mention that

Strings and Lists

2005-04-18 Thread Tom Longridge
My current Python project involves lots repeatating code blocks, mainly centred around a binary string of data. It's a genetic algorithm in which there are lots of strings (the chromosomes) which get mixed, mutated and compared a lot. Given Python's great list processing abilities and the relative