io – file operations

The io module contains all usual file operations. It also includes popen which can run a program and read/write data from it.

Note: operations are available as functions io.read() and as methods on a file object file:read().

All the io functions:

  • io – file functions (also popen for reading/writing data from a program)
  • file: – methods for the file object.

Leave A Comment?