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.


This class is managed by footprint.

  • info: Not documented
  • priority: PriorityLevel::DEFAULT (rank=1)

Automatic parameters from the footprint:

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

Aliases of some parameters:

  • f is an alias of filename.

Constructor. See its footprint for arguments.


Returns the absolute path of the directory of the file.


Returns the absolute path of the file.


Returns the basename of the file.