this is one simplified code for my program:
def test(): global a with open("setting.txt", \'r\') as f: s = f.read().splitlines()