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 (
str
) - rxx - Relative or absolute pathname.
Aliases of some parameters:
- f is an alias of filename.
Constructor. See its footprint for arguments.
-
absdir
¶ Returns the absolute path of the directory of the file.
-
abspath
¶ Returns the absolute path of the file.
-
basename
¶ Returns the basename of the file.