Package pajammin :: Package util :: Module data
[show private | hide private]
[frames | no frames]

Module pajammin.util.data

Path resolution for data files. This module defines a single function, data_path(), which can be used to convert a posix path relative to pajammin's data directory to a corresponding absolute os path.
Function Summary
  data_path(relative_path)
Given a posix path relative to pajammin's data directory, return the corresponding absolute os path.

Variable Summary
str datadir: The absolute os path of pajammin's data directory.

Function Details

data_path(relative_path)

Given a posix path relative to pajammin's data directory, return the corresponding absolute os path.

Variable Details

datadir

The absolute os path of pajammin's data directory. This is defined as the 'data' subdirectory of the directory containing the pajammin package.
Type:
str
Value:
'/Users/edloper/programming/pajammin/src/pajammin/data'