atomica.system.atomica_path¶
- atomica.system.atomica_path(subdir=None)[source]¶
Returns paths relative to the Atomica parent module
This function by default returns the directory containing the Atomica source files. It can also return paths relative to this directory using the optional additional arguments
Example usage:
>>> at.atomica_path() WindowsPath('E:/projects/atomica/atomica') >>> at.atomica_path('foo') WindowsPath('E:/projects/atomica/atomica/foo') >>> at.atomica_path(['foo','bar']) WindowsPath('E:/projects/atomica/atomica/foo/bar')
- Parameters:
subdir – Optionally append a list of subdirectories to the path
- Return type:
- Returns:
Absolute Path object