The function read_python_file() returns just one value, but you are expecting two values when you call this function. Modify the function to return two values or change the code where you call the function.
Change
pythonListTr, pythonDictTr = read_python_file(args.pythonTr)
to
pythonListTr = read_python_file(args.pythonTr)
or
pythonDictTr = read_python_file(args.pythonTr)