import pprint
pp = pprint.PrettyPrinter(indent=4)
src = "tasks.py"
# compile signature found at https://stackoverflow.com/questions/714881/how-to-include-external-python-code-to-use-in-other-files/16604453#comment69549307_16604453
exec(compile(source=open(src).read(), filename=src, mode='exec'))
pp.pprint(tasklists)