chore: move python code to /scripts

This commit is contained in:
NateScarlet
2022-12-09 16:52:02 +08:00
parent df637aa453
commit ef9f9cd5e3
11 changed files with 17 additions and 10 deletions

10
scripts/filetools.py Normal file
View 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))