Skip to main content
Version: 6 - Palatschinke

File

class flow_api.file.File(select=None, init=None, by=name, **kwargs)

Base class: Resource

The File class represents a file. Functions from the file class allow interaction with file objects.

A file can be created with system.file('filename').save() inside the handler function of a flow script using the system reference.

Please see https://docs.python.org/3/library/codecs.html#standard-encodings for a list of supported character encodings to specify for the encoding parameter.

See the corresponding Resources class at File

Parameters

NameTypeDescription
**kwargs
by
init
select

Constants

RESOURCE = file

Methods