Python Open File relatif terhadap modul
import os
TEST_FILENAME = os.path.join(os.path.dirname(__file__), 'test.txt')
Good Goshawk
import os
TEST_FILENAME = os.path.join(os.path.dirname(__file__), 'test.txt')