[+] Add SRC_DIR

This commit is contained in:
Hykilpikonna
2021-11-24 19:28:36 -05:00
parent 4aaaa3c349
commit 4abfc80027
+6
View File
@@ -1,7 +1,13 @@
import os
# Constants (The instructors said that we can use global constants here:
# https://piazza.com/class/ksovzjrlsye72f?cid=1664
# They should not end with "/"
from pathlib import Path
DATA_DIR = './data'
TWEETS_DIR = f'{DATA_DIR}/twitter/user-tweets'
USER_DIR = f'{DATA_DIR}/twitter/user'
REPORT_DIR = './report'
# Sources directory. This may be different from the data directory if the running
SRC_DIR = str(Path(os.path.realpath(__file__)).parent)