summaryrefslogtreecommitdiff
path: root/pokemontools/data/__init__.py
blob: fcc59e9f01f70aa752b6a99ce5bf1a321e2e0fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Access to data files.
"""

# hide the os import
import os as _os

# path to where these files are located
path = _os.path.abspath(_os.path.dirname(__file__))

def join(filename, path=path):
    """
    Construct the absolute path to the file.
    """
    return _os.path.join(path, filename)