When using formats, don't you have to use the write command instead of print?
In reply to Re: Strange problem reading a text file by Nkuvu in thread Strange problem reading a text file by tariqahsan