argparse::FileType Class Reference

Inherits object.

List of all members.

Public Member Functions

def __init__
def __call__
def __repr__

Detailed Description

Factory for creating file object types

Instances of FileType are typically passed as type= arguments to the
ArgumentParser add_argument() method.

Keyword Arguments:
    - mode -- A string indicating how the file is to be opened. Accepts the
        same values as the builtin open() function.
    - bufsize -- The file's desired buffer size. Accepts the same values as
        the builtin open() function.

Definition at line 1109 of file argparse.py.


The documentation for this class was generated from the following file:

Generated on 13 Feb 2019 for otsdaq_utilities by  doxygen 1.6.1