
![]() | As script:
unix> ./convert3.py someinputfile.dat |
![]() | As module:
import convert3
y, dt = convert3.load_data('someinputfile.dat')
# do more with y?
dump_data(y, dt)
|
![]() | The application script at the end also serves as an example on how to use the module |