splinepy.io.ioutils.expand_tabs#
- splinepy.io.ioutils.expand_tabs(fname, overwrite=True, tab_expand=2)[source]#
Replaces tabs in a text file with spaces
- Parameters:
fname (string) – Filename
overwrite (bool) – Inplace modification, otherwise new file with prefix copy is created
tab_expand (int) – Determines how many spaces to be set for each tab
- Return type:
None