chore: move python code to /scripts
This commit is contained in:
10
scripts/filetools.py
Normal file
10
scripts/filetools.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""Tools for files. """
|
||||
|
||||
import os
|
||||
|
||||
__dirname__ = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
||||
def _file_path(*other):
|
||||
|
||||
return os.path.abspath(os.path.join(__dirname__, *other))
|
||||
Reference in New Issue
Block a user