Re: [Tutor] OrderedDict?

2016-06-02 Thread Alex Hall
Thanks. I've never used that module before, and didn't realize it's not imported by default, which must be why my first tries failed. I've got it working now. > On Jun 1, 2016, at 18:45, Alan Gauld via Tutor wrote: > > On 01/06/16 16:36, Alex Hall wrote: > >> I'm trying to

Re: [Tutor] OrderedDict?

2016-06-01 Thread Alan Gauld via Tutor
On 01/06/16 16:36, Alex Hall wrote: > I'm trying to find the OrderedDict documentation. I found one page, but it > wasn't very clear on how to actually make an OrderedDict. Plus, an empty > constructor in Python's interpreter returns an error that the class doesn't > exist It's in the

[Tutor] OrderedDict?

2016-06-01 Thread Alex Hall
Hi list, I'm trying to find the OrderedDict documentation. I found one page, but it wasn't very clear on how to actually make an OrderedDict. Plus, an empty constructor in Python's interpreter returns an error that the class doesn't exist (Python 2.7.11). I also found the PEP, plus some home-grown