pytz question: GMT vs. UTC

MRAB python at mrabarnett.plus.com
Thu Jan 30 06:51:53 EST 2014


On 2014-01-30 08:45, wxjmfauth at gmail.com wrote:
> Le jeudi 30 janvier 2014 04:27:54 UTC+1, Chris Angelico a écrit :
>> On Thu, Jan 30, 2014 at 1:40 PM, MRAB <python at mrabarnett.plus.com> wrote:
>>
>> >>         How cruel... I suspect the smack at 0degC is much more painful
>>
>> >> than one
>>
>> >> at room temperature <G>
>>
>> >>
>>
>> > It's the 21st century; you should be making use of Unicode: 0°C.
>>
>>
>>
>> I started to read that and thought you were going to advocate the use of 0°K...
>>
>>
>
> ======
>
> The temperature unit is the "Kelvin", not the "Degree Kelvin".
> One writes: 0 K, 275.15 K
>
Not that long ago I saw a science fiction film in which one of the
"scientists" said "degrees Kelvin". The rest of the "science" was
somewhat dubious too...

> It can also be the "Degree Celsius", not the "Celsius".
> One writes: -273.15 °C, 0 °C
>
>
>
>>>> import unicodedata as ud
>>>> for c in '\u2109\u212a\u2103\u00b0':
> ...     print(ud.name(c))
> ...
> DEGREE FAHRENHEIT
> KELVIN SIGN
> DEGREE CELSIUS
> DEGREE SIGN
>>>>
>




More information about the Python-list mailing list