open(*args) public

With no associated block, open is a synonym for If the optional code block is given, it will be passed file as an argument, and the File object will automatically be closed when the block terminates. In this instance, returns the value of the block.

Show source
Register or log in to add new notes.