Dictionary from a file

Peter Schopfer (aka Dr. J. - magician) drj at mail.bulkley.net
Mon Jan 24 01:27:17 EST 2000


Hello

I have a dictionary that is too big to fit right in my program, so i was
going to have it as a seperat file, labeled dic.py. how would i be able
to retrieve this dictionary. wuld this work:

from dic.py import dictionary
mydic=dic.dictionary

i am a newbie, so any help would be appreciated
thanks

keagan




More information about the Python-list mailing list