On 26/09/2017 12:22, Albert-Jan Roskam wrote:
PS: sorry about the missing quote (>>) markers. Hotmail can't do this. Is Gmail
better?
>
Get a decent email client and it'll do the work for you. I use
Thunderbird on Windows with hotmail, gmail and yahoo addresses and never
have a problem.
On Tue, Sep 26, 2017 at 6:22 AM, Albert-Jan Roskam
wrote:
> PS: sorry about the missing quote (>>) markers. Hotmail can't do this. Is
> Gmail better?
Yeah, in Gmail it will handle the quote markers when doing plain text.
--
boB
Dear Mats, Peter and Eryk,
THANK YOU for your replies. What a wealth of information!
Have a great weekend!
Albert-Jan
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Albert-Jan Roskam wrote:
[me]
> Or you follow the convention and log to stderr:
>
> $ python3 -c 'import sys; print("\udc85", file=sys.stderr)'
> \udc85
> $ $ python3 -c 'import logging; logging.basicConfig();
> logging.getLogger().warn("\udc85")' > to_prove_it_s_not_stdout
> WARNING:root:\udc85
From: Tutor <tutor-bounces+sjeik_appie=hotmail@python.org> on behalf of
Peter Otten <__pete...@web.de>
Sent: Monday, September 25, 2017 2:59 PM
To: tutor@python.org
Subject: Re: [Tutor] logging to cmd.exe
Albert-Jan Roskam wrote:
> Hi,
>
>
> With Py
On Tue, Sep 26, 2017 at 7:35 AM, Mats Wichmann wrote:
> On 09/26/2017 05:22 AM, Albert-Jan Roskam wrote:
>
>> Rather than change your code can you change the codepage with the chcp
>> command?
>
> the way chcp takes effect is problematic for this:
>
> "Programs that you start
> cmd.exe can use cp65001 aka utf8???
CMD is a Unicode application that for the most part uses WinAPI
wide-character functions, including the console API functions (as does
Python 3.6+). There are a few exceptions. CMD uses the console
codepage when decoding batch files (line by line, so you can
On 09/26/2017 05:22 AM, Albert-Jan Roskam wrote:
> Rather than change your code can you change the codepage with the chcp
> command?
the way chcp takes effect is problematic for this:
"Programs that you start after you assign a new code page use the new
code page, however, programs (except
From: Tutor <tutor-bounces+sjeik_appie=hotmail@python.org> on behalf of
Mark Lawrence via Tutor <tutor@python.org>
Sent: Monday, September 25, 2017 4:19 PM
To: tutor@python.org
Subject: Re: [Tutor] logging to cmd.exe
On 25/09/2017 14:20, Albert-Jan Roskam wrote:
> Hi,
>
On 25/09/2017 14:20, Albert-Jan Roskam wrote:
Hi,
With Python 3.5 under Windows I am using the logging module to log messages to
stdout (and to a file), but this occasionally causes logging errors because
some characters cannot be represented in the codepage used by cmd.exe (cp850,
aka OEM
Albert-Jan Roskam wrote:
> Hi,
>
>
> With Python 3.5 under Windows I am using the logging module to log
> messages to stdout (and to a file), but this occasionally causes logging
> errors because some characters cannot be represented in the codepage used
> by cmd.exe (cp850, aka OEM codepage, I
Hi,
With Python 3.5 under Windows I am using the logging module to log messages to
stdout (and to a file), but this occasionally causes logging errors because
some characters cannot be represented in the codepage used by cmd.exe (cp850,
aka OEM codepage, I think). What is the best way to
12 matches
Mail list logo