Replace strings

operators.val.replace_strings(client, file_in='file.txt', file_out='file.txt', replace_from='', replace_to='', instance_type='x2large')
Substrings replacement in an ASCII file

replace_strings( client,
file_in=’file.txt’,
file_out=’file.txt’,
replace_from=’’,
replace_to=’’,
instance_type=’x2large’ )
Parameters:
  • file_in – Path to the input file

  • file_out – Path to the output file

  • replace_from – Comma-separated list of substrings to replace

  • replace_to – Comma-separated list of replacement substrings

  • instance_type – type of cloud instance used for processing