Re: [Tutor] changing dictionary to lowercase

2011-10-28 Thread Adrian
Ok boss point noted Sent from my iPad On 28 Oct 2011, at 19:05, bob gailer wrote: > Always reply-all so a copy goes to the tutor list. > > Always put your responses following the question rather than at the top of > the email. > > On 10/28/2011 8:28 AM, Adrian wrote: >> >> Thats the origin

Re: [Tutor] changing dictionary to lowercase

2011-10-28 Thread bob gailer
Always reply-all so a copy goes to the tutor list. Always put your responses following the question rather than at the top of the email. On 10/28/2011 8:28 AM, Adrian wrote: Thats the original alright bob, id like to change keys to lowercase Thanks Adrian Sent from my iPad On 27 Oct 2011, a

Re: [Tutor] changing dictionary to lowercase

2011-10-28 Thread Christian Witts
On 2011/10/28 11:51 AM, Albert-Jan Roskam wrote: It would be nice to generalize the solution so it could also handle definitions={"Deprecated": "No longer in use", "DEPRECATED": "No longer in use"} These are unique now, but after turning them into lower case not anymore. new_d = {} for d in de

Re: [Tutor] changing dictionary to lowercase

2011-10-28 Thread Albert-Jan Roskam
ober 27, 2011 8:36 PM >Subject: Re: [Tutor] changing dictionary to lowercase > > > > > >On Thu, Oct 27, 2011 at 2:25 PM, ADRIAN KELLY wrote: > > >>Hi all, >>is it possible to change a dictionary list to lowercase..without having to >>retype? >>e.g. defi

Re: [Tutor] changing dictionary to lowercase

2011-10-27 Thread Alan Gauld
On 27/10/11 19:25, ADRIAN KELLY wrote: is it possible to change a dictionary list to lowercase..without having to retype? e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall in value of an asset"} You've posted a few similar type questions lately that look suspiciously l

Re: [Tutor] changing dictionary to lowercase

2011-10-27 Thread bob gailer
On 10/27/2011 2:25 PM, ADRIAN KELLY wrote: Hi all, is it possible to change a dictionary list to lowercase..without having to retype? e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall in value of an asset"} There seems to be some confusion both in the question and the

Re: [Tutor] changing dictionary to lowercase

2011-10-27 Thread Joel Goldstick
On Thu, Oct 27, 2011 at 2:25 PM, ADRIAN KELLY wrote: > > Hi all, > is it possible to change a dictionary list to lowercase..without having to > retype? > e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall > in value of an asset"} > > i have tried definitions=definitions.lowe

Re: [Tutor] changing dictionary to lowercase

2011-10-27 Thread Steve Willoughby
On 27-Oct-11 11:25, ADRIAN KELLY wrote: Hi all, is it possible to change a dictionary list to lowercase..without having to retype? e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall in value of an asset"} i have tried definitions=definitions.lower() lower() is not a dic

[Tutor] changing dictionary to lowercase

2011-10-27 Thread ADRIAN KELLY
Hi all, is it possible to change a dictionary list to lowercase..without having to retype? e.g. definitions={"Deprecated": "No longer in use", "Depreciation": "fall in value of an asset"} i have tried definitions=definitions.lower() regards adrian _