API Reference for Enthought Tool Suite 3.2.0

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 built-in open() function.

Method summary

Methods

© Copyright 2002-2009 Enthought, Inc.