[melbourne-pug] Unicode for windows dummies

William ML Leslie william.leslie.ttg at gmail.com
Mon Aug 15 23:59:42 EDT 2016


On 16 August 2016 at 13:57, Mike Dewhirst <miked at dewhirst.com.au> wrote:
> On 16/08/2016 11:27 AM, William ML Leslie wrote:
>> What is the value of sys.stdout.encoding at this point?
>
>
> It is just a waypoint. I just wrote the class init and wanted to prove it
> produced data I can use before writing the necessary data mapping and import
> methods. Once it is working I'll probably put a conditional in there so it
> only produces stdout output when unit testing.

I meant literally, what is its value.

import sys
print(sys.stdout.encoding)

-- 
William Leslie

Notice:
Likely much of this email is, by the nature of copyright, covered
under copyright law.  You absolutely MAY reproduce any part of it in
accordance with the copyright law of the nation you are reading this
in.  Any attempt to DENY YOU THOSE RIGHTS would be illegal without
prior contractual agreement.


More information about the melbourne-pug mailing list