open(*args) public

With no associated block, is a synonym for If the optional code block is given, it will be passed the opened file as an argument and the File object will automatically be closed when the block terminates. The value of the block will be returned from

If a file is being created, its initial permissions may be set using the perm parameter. See for further discussion.

See for a description of the mode and opt parameters.

Show source
Register or log in to add new notes.