how to use a relative file path in python code example
Example: python open file relative to module
import os
TEST_FILENAME = os.path.join(os.path.dirname(__file__), 'test.txt')
import os
TEST_FILENAME = os.path.join(os.path.dirname(__file__), 'test.txt')