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