Reconstituting f2py Multi-dimensional character array

2011-06-17 Thread Helmut Fritz
Hello all, I've normally only had to build a list of words from a f2py fortran character array. For this I found the transpose method to work fine. However I have had difficulty finding a way of getting a 3d array of words from Fortran to python. (I.e. 4d in python) I've attached 2 files that ar

Init a dictionary with a empty lists

2011-02-05 Thread Lisa Fritz Barry Griffin
Hi there, How can I do this in a one liner: maxCountPerPhraseWordLength = {} for i in range(1,MAX_PHRASES_LENGTH+1): maxCountPerPhraseWordLength[i] = 0 Thanks! -- http://mail.python.org/mailman/listinfo/python-list

how to extract an implicit dict expression (with statement return)

2010-09-09 Thread Fritz Loseries
= ... return result Could not found a description for the here used form of for and what [...] means. Need this for debugging. Thanks for any help. Regards, Fritz -- http://mail.python.org/mailman/listinfo/python-list

Re: cpan for python?

2010-03-02 Thread R Fritz
hives. This subject has been discussed to absolute death. But somehow the question is not in the FAQ, though the answer is. See: <http://www.python.org/doc/faq/library/#how-do-i-find-a-module-or-application-to-perform-task-x> -- Randolph Fritz design machine group, architecture

Re: Your beloved python features

2010-02-04 Thread R Fritz
My favorite feature is its readability. It's as near to pseudo-code as any language we have, and that's valuable in open source projects or when I return to code to modify it. -- http://mail.python.org/mailman/listinfo/python-list

shoehorn c-structured data into Numpy

2009-06-14 Thread Helmut Fritz
Hello there everyone, I used to be on this a long time ago but then I got so much spam I gave up. But this strategy has come a little unstuck. I have binary output from a Fortran program that is in a big-endian C-structured binary file. The output can be very variable and many options create dif

Re: 3D plotting in a GUI

2009-04-07 Thread R Fritz
I've been doing 3D modeling for lighting simulation and I found two reasonably well-supported solutions: VTK and OpenSceneGraph. VTK generally has a research slant and has what I believe are reasonably strong Python bindings. OSG is closer to VR/AR/Flight Simulation applications and the Pytho

Re: are there some special about '\x1a' symbol

2009-01-14 Thread R Fritz
onnect a teletype. Does this qualify me for the dinosaur award? R Fritz On 2009-01-14 07:15:33 -0800, Mel said: Steve Holden wrote: Unknown wrote: On 2009-01-12, John Machin wrote: I didn't think your question was stupid. Stupid was (a) CP/M recording file size as number of 128-byte sec

is there a threadsafe cookie library?

2008-04-28 Thread fritz
I'm working with a script written in python2.4 that has to handle multiple http connections but I'm having concurrency issues with cookielib. Does anyone know of a threadsafe library that handles cookies? -- http://mail.python.org/mailman/listinfo/python-list

Car Air Conditioners!

2007-08-22 Thread fritz
http://car-air-conditioning.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Air conditioners for cars!

2007-08-17 Thread fritz
Have a problem with car air conditioner, go here http://car-air-conditioning.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Air conditioners for free!??!?!!!

2007-08-13 Thread fritz
http://airconlinks.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list