mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-17 06:15:49 -05:00
16 lines
296 B
Python
16 lines
296 B
Python
"""
|
|
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)
|