Aug-31-2017, 03:08 PM
In line 6, mydict is empty, as defined on line 2. So anything you try to pull out of there is going to give you a key error. You need to assign something to mydict['1'] before you can access anything from it.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures