David Aldrich
2015-06-15 11:03:27 UTC
Hi
I have defined a dictionary in a module:
mydir.py:
REG_LOOKUP = {
'REG_1' : some_value1,
'REG_2' : some_value2,
}
How would I import that dictionary from my main() function (which lives in a different module) please?
Best regards
David
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
I have defined a dictionary in a module:
mydir.py:
REG_LOOKUP = {
'REG_1' : some_value1,
'REG_2' : some_value2,
}
How would I import that dictionary from my main() function (which lives in a different module) please?
Best regards
David
_______________________________________________
Tutor maillist - ***@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor