Linux to Windows porting question

2005-09-06 Thread SHELTRAW, DANIEL
Hello Pyhton Listees I am trying to port some code to Windows that works fine under Linux. The offending line is: blk = fromstring(f_fid.read(BLOCK_LEN), num_type).byteswapped().astype(Float32).tostring() The error I get is: ValueError: string size must be a multiple of element size

import search path

2005-06-22 Thread SHELTRAW, DANIEL
Hello Python list If a Python program has an import statement like: import FFT how do I determine the path to the imported file? Thanks, Daniel -- http://mail.python.org/mailman/listinfo/python-list