epygram.containers — Containers

Contains the containers for a Resource.

class epygram.containers.File(*args, **kwargs)[source]

Bases: epygram.util.RecursiveObject, footprints.FootprintBase

Generic class implementing a File.

Note

This class is managed by footprint.

  • info: Not documented

  • priority: PriorityLevel::DEFAULT (rank=1)

Automatic parameters from the footprint:

  • filename (builtins.str) - rxx - Relative or absolute pathname.

Aliases of some parameters:

  • f is an alias of filename.

Constructor. See its footprint for arguments.

property absdir

Returns the absolute path of the directory of the file.

property abspath

Returns the absolute path of the file.

property basename

Returns the basename of the file.

filename

Relative or absolute pathname (see the documentation above for more details).