The netx Command

The netx command is used to manage network file I/O modules. The command has the following subcommands:

netx defined

netx defined networkformat
Netx.Defined(networkformat)

A boolean check whether the network format is supported by a module. If the format is not yet known, an attempt is made to locate and auto-load the module. For an equivalent command without auto-loading, see netx exists . The name can be the primary name of the format, or any recognized alias.

netx exists

netx exists networkformat
n.exists()
Netx.Exists(networkformat)

A boolean check whether the network format is supported by a module. No attempt is made to auto-load a handler module if it is not already in memory. The name can be the primary name of the format, or any recognized alias. For an equivalent command with auto-loading, see netx defined .

netx get

netx get networkformat attribute
Netx.Get(networkformat,attribute)
n.get(attribute)
n.attribute
n[attribute]

Query the value of an attribute of the module Note that network format handlers are static - it is neither possible to define them on the command line, nor to change any attribute. Therefore, there are no netx create or netx set commands.

The following attributes are recognized:

netx list

netx list ?pattern?
Netx.List(?pattern=?)

Return a list of all currently loaded network file modules, including those handled by built-in modules. If desired, the list can be filtered by a string pattern.

netx ref

Netx.Ref(networkformat)

Python -only method to get a reference of the module, which allows terser attribute retrieval commands and other operations.

netx subcommands

netx subcommands
dir(Netx)

Return a list of the currently implemented subcommands of the netx command.