incorect version

2005-08-20 Thread Einstein, Daniel R
Hello, I am working with a code that has python embedded in it. The embedded python points to my local python. Outside of the embedding application, I can import a third part module (wrapped ITK). When, I attempt to import the same module from within the embedding application, it fails with th

Reading binary with header

2005-07-25 Thread Einstein, Daniel R
Title: Reading binary with header Hello, I am trying to head in a binary file that has a header and different character types. The array module apparently expects the typecode to be the same throughout. Here's what the file looks like: Byte number:    type:   value:  purpose: 1-4       

FORTRAN like formatting

2005-07-08 Thread Einstein, Daniel R
Title: FORTRAN like formatting Hi, Sorry for this, but I need to write ASCII from my Python to be read by FORTRAN and the formatting is very important. Is there any way of doing anything like: write(*,'(3(" ",1pe20.12))') (variable) In other words, I want three columns 20 spaces long, wi