Python Share Variables Between Functions