资 源 简 介
Project Description
This is a python extension module for reading from and writing to files with fixed length records. Data are read into or written from numerical python arrays (numpy). Files can be binary or text files with fixed delimiter, such as csv, tab, or white space.
The extension is a C++ class wrapped using SWIG.
This extension is especially useful when the structure of the file can be determined at run-time, for example from an ascii header. One implementation of such a format is the SFile module in the esutil python package.
Update history
v0.41: bug fix in write()
v0.40: Cleaned up code and documentation, made UPS installation optional. To install the ups directory, use
python setup.py with_ups install --prefix=/some/path
v0.31: Major overhaul, adding SFile class and slicing notation for reading.
R