[Tutor] changing dictionary to lowercase

bob gailer bgailer at gmail.com
Fri Oct 28 20:05:09 CEST 2011


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, at 22:49, bob gailer <bgailer at gmail.com 
> <mailto:bgailer at gmail.com>> wrote:
>
>> 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 
>> proposed solutions regarding "lowercase".
>>
>> Re your e.g. - is that the original or the result?
>>
>> It's best to show both.
>>
>> I have to assume that your e.g. is the original since it contains 
>> upper case letters.
>>
>> Do you want to change the case of the keys, values or both?
>>
>> -- 
>> Bob Gailer
>> 919-636-4239
>> Chapel Hill NC


-- 
Bob Gailer
919-636-4239
Chapel Hill NC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111028/5a3e6450/attachment.html>


More information about the Tutor mailing list