py-fortranformat
py-fortranformat copied to clipboard
Can it be written to stdout and a file also?
I found that it is effective but it works only at interactive mode. Can you provide, if it works, an example how to write fortranformat to a file?
The library doesn't deal with writing (or reading) files directly - it only deals with strings
To write a string to a file use the open function from the base Python language