I rewrite the program from MATLAB
to Python
. Does python
similar function textscan
( textscan
- reading data from a text file, converting and writing to an array of cells) or do you have to write a separate function
Approximate program code:
fid = fopen(las_file); file = textscan(fid, '%s', 'delimiter', '\n','whitespace', ''); fclose(fid);