msgpi.utils.io.writeFormatIntegers#

msgpi.utils.io.writeFormatIntegers(file, numbers, fmt='8d', newline=True)#

Write a list of integers into a file

Parameters
  • file (file) – The file object for writing.

  • numbers (list of ints) – The list of numbers that is going to be written.

  • fmt (str) – The desired format for each number.

  • newline (bool) – If append the character \n after writting all numbers or not.