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  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to